Remove accidentally added test case

This commit is contained in:
Adriane Boyd 2019-09-08 20:48:05 +02:00
parent 5861308910
commit e4cba2f1ee

View File

@ -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)"