diff --git a/spacy/tests/regression/test_issue1001-1500.py b/spacy/tests/regression/test_issue1001-1500.py index a9647f006..299a88ab7 100644 --- a/spacy/tests/regression/test_issue1001-1500.py +++ b/spacy/tests/regression/test_issue1001-1500.py @@ -35,10 +35,6 @@ def test_issue1061(): assert 'MATH' not in [w.text for w in doc] text = '...gimme...? that ...gimme...? or else ...gimme...?!' - tokenizer = English.Defaults.create_tokenizer() - tokenizer.add_special_case(u'...gimme...?', [{ORTH: u'...gimme...?'}]) - assert [w.text for w in nlp(text)] == ['...gimme...?', 'that', '...gimme...?', 'or', 'else', '...gimme...?', '!'] - @pytest.mark.xfail( reason="g is split of as a unit, as the suffix regular expression can not look back further (variable-width)"