diff --git a/spacy/tests/test_cli.py b/spacy/tests/test_cli.py index f29568bab..affb20f25 100644 --- a/spacy/tests/test_cli.py +++ b/spacy/tests/test_cli.py @@ -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 [