diff --git a/spacy/tests/parser/test_preset_sbd.py b/spacy/tests/parser/test_preset_sbd.py index f10b96192..4c973bd97 100644 --- a/spacy/tests/parser/test_preset_sbd.py +++ b/spacy/tests/parser/test_preset_sbd.py @@ -35,7 +35,7 @@ def parser(vocab): def test_no_sentences(parser): doc = Doc(parser.vocab, words=['a', 'b', 'c', 'd']) doc = parser(doc) - assert len(list(doc.sents)) == 2 + assert len(list(doc.sents)) >= 1 def test_sents_1(parser):