From e4cba2f1ee7dfb089e9a287c2ec11eccb70ff340 Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Sun, 8 Sep 2019 20:48:05 +0200 Subject: [PATCH] Remove accidentally added test case --- spacy/tests/regression/test_issue1001-1500.py | 4 ---- 1 file changed, 4 deletions(-) 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)"