mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-07 13:44:55 +03:00
Update spacy/tests/test_cli.py
Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
This commit is contained in:
parent
42a820874f
commit
3f9d879bfe
|
@ -864,7 +864,7 @@ def test_span_length_freq_dist_output_must_be_correct():
|
||||||
def test_cli_find_threshold(capsys):
|
def test_cli_find_threshold(capsys):
|
||||||
thresholds = numpy.linspace(0, 1, 10)
|
thresholds = numpy.linspace(0, 1, 10)
|
||||||
|
|
||||||
def make_examples(_nlp: Language) -> List[Example]:
|
def make_examples(nlp: Language) -> List[Example]:
|
||||||
docs: List[Example] = []
|
docs: List[Example] = []
|
||||||
|
|
||||||
for t in [
|
for t in [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user