mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-07 13:44:55 +03:00
Merge branch 'fix/revert-disable-enable-behavior' of github.com:rmitsch/spaCy into fix/revert-disable-enable-behavior
This commit is contained in:
commit
4291c81926
|
@ -615,7 +615,7 @@ def test_enable_disable_conflict_with_config():
|
|||
|
||||
with make_tempdir() as tmp_dir:
|
||||
nlp.to_disk(tmp_dir)
|
||||
# Expected to succeed, as config and arguments conflict.
|
||||
# Expected to succeed, as config and arguments do not conflict.
|
||||
assert spacy.load(
|
||||
tmp_dir, enable=["tagger"], config={"nlp": {"disabled": ["senter"]}}
|
||||
).disabled == ["senter", "sentencizer"]
|
||||
|
|
Loading…
Reference in New Issue
Block a user