Update spacy/tests/test_cli.py

Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
This commit is contained in:
Raphael Mitsch 2022-11-17 12:53:27 +01:00 committed by GitHub
parent 42a820874f
commit 3f9d879bfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -864,7 +864,7 @@ def test_span_length_freq_dist_output_must_be_correct():
def test_cli_find_threshold(capsys):
thresholds = numpy.linspace(0, 1, 10)
def make_examples(_nlp: Language) -> List[Example]:
def make_examples(nlp: Language) -> List[Example]:
docs: List[Example] = []
for t in [