mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-15 12:06:25 +03:00
Remove accidentally added test case
This commit is contained in:
parent
5861308910
commit
e4cba2f1ee
|
@ -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)"
|
||||
|
|
Loading…
Reference in New Issue
Block a user