mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-21 01:21:58 +03:00
Revert changes to test related to auto-filling [nlp]
This commit is contained in:
parent
0d05f10786
commit
808cc947fa
|
@ -213,7 +213,8 @@ def test_issue8190():
|
|||
|
||||
def test_create_nlp_from_config():
|
||||
config = Config().from_str(nlp_config_string)
|
||||
assert "initialize" not in config
|
||||
with pytest.raises(ConfigValidationError):
|
||||
load_model_from_config(config, auto_fill=False)
|
||||
nlp = load_model_from_config(config, auto_fill=True)
|
||||
assert nlp.config["training"]["batcher"]["size"] == 666
|
||||
assert len(nlp.config["training"]) > 1
|
||||
|
|
Loading…
Reference in New Issue
Block a user