mirror of
https://github.com/explosion/spaCy.git
synced 2025-06-06 22:23:06 +03:00
Update source so mypy passes
This commit is contained in:
parent
1c9d0c966c
commit
7041af441a
|
@ -202,7 +202,9 @@ def test_issue12566(factory: str, output_file: str):
|
||||||
doc = Doc(nlp.vocab).from_json(doc_json)
|
doc = Doc(nlp.vocab).from_json(doc_json)
|
||||||
|
|
||||||
# Run the evaluate command and check if the html files exist
|
# Run the evaluate command and check if the html files exist
|
||||||
render_parses(docs=[doc], output_path=tmp_dir, **{factory: True})
|
render_parses(
|
||||||
|
docs=[doc], output_path=tmp_dir, model_name="", limit=1, **{factory: True}
|
||||||
|
)
|
||||||
|
|
||||||
assert (tmp_dir / output_file).is_file()
|
assert (tmp_dir / output_file).is_file()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user