mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 18:26:30 +03:00
formatting
This commit is contained in:
parent
2cafba5f50
commit
06b9d213fd
|
@ -457,7 +457,7 @@ class Errors:
|
||||||
|
|
||||||
# TODO: fix numbering after merging develop into master
|
# TODO: fix numbering after merging develop into master
|
||||||
E900 = ("Could not run the full 'nlp' pipeline for evaluation. If you specified "
|
E900 = ("Could not run the full 'nlp' pipeline for evaluation. If you specified "
|
||||||
"frozen components, make sure they were already trained and initialized. ")
|
"frozen components, make sure they were already initialized and trained. ")
|
||||||
E901 = ("Failed to remove existing output directory: {path}. If your "
|
E901 = ("Failed to remove existing output directory: {path}. If your "
|
||||||
"config and the components you train change between runs, a "
|
"config and the components you train change between runs, a "
|
||||||
"non-empty output directory can lead to stale pipeline data. To "
|
"non-empty output directory can lead to stale pipeline data. To "
|
||||||
|
|
|
@ -149,7 +149,6 @@ def test_disable_pipes_context_restore(nlp, name):
|
||||||
assert not nlp.has_pipe(name)
|
assert not nlp.has_pipe(name)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def test_select_pipes_list_arg(nlp):
|
def test_select_pipes_list_arg(nlp):
|
||||||
for name in ["c1", "c2", "c3"]:
|
for name in ["c1", "c2", "c3"]:
|
||||||
nlp.add_pipe("new_pipe", name=name)
|
nlp.add_pipe("new_pipe", name=name)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user