* Mark a matcher test as requiring the model

This commit is contained in:
Matthew Honnibal 2015-09-06 20:19:51 +02:00
parent f6ec5bf1b0
commit fc8f7b123d
1 changed files with 1 additions and 1 deletions

View File

@ -48,10 +48,10 @@ def test_match_multi(matcher, EN):
(EN.vocab.strings['PRODUCT'], 5, 6)] (EN.vocab.strings['PRODUCT'], 5, 6)]
@pytest.mark.models
def test_match_preserved(matcher, EN): def test_match_preserved(matcher, EN):
doc = EN.tokenizer('I like java') doc = EN.tokenizer('I like java')
EN.tagger(doc) EN.tagger(doc)
EN.entity(doc)
assert len(doc.ents) == 0 assert len(doc.ents) == 0
doc = EN.tokenizer('I like java') doc = EN.tokenizer('I like java')
matcher(doc) matcher(doc)