mirror of
https://github.com/explosion/spaCy.git
synced 2025-06-05 21:53:05 +03:00
Update spacy/tests/pipeline/test_spancat.py
Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
This commit is contained in:
parent
afc3a5a4af
commit
af3fa670d4
|
@ -493,7 +493,7 @@ def test_overfitting_IO_overlapping():
|
||||||
|
|
||||||
@pytest.mark.parametrize("name", SPANCAT_COMPONENTS)
|
@pytest.mark.parametrize("name", SPANCAT_COMPONENTS)
|
||||||
def test_zero_suggestions(name):
|
def test_zero_suggestions(name):
|
||||||
# Test with a suggester that returns 0 suggestions
|
# Test with a suggester that can return 0 suggestions
|
||||||
@registry.misc("test_mixed_zero_suggester")
|
@registry.misc("test_mixed_zero_suggester")
|
||||||
def make_mixed_zero_suggester():
|
def make_mixed_zero_suggester():
|
||||||
def mixed_zero_suggester(docs, *, ops=None):
|
def mixed_zero_suggester(docs, *, ops=None):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user