Xfail test for issue #2671

This commit is contained in:
Matthew Honnibal 2018-08-15 15:55:31 +02:00
parent 7cfa665ce6
commit f12b9190f6

View File

@ -1,7 +1,8 @@
# coding: utf-8 # coding: utf-8
from __future__ import unicode_literals from __future__ import unicode_literals
from spacy.lang.en import English import pytest
from spacy.matcher import Matcher from ...lang.en import English
from ...matcher import Matcher
def get_rule_id(nlp, matcher, doc): def get_rule_id(nlp, matcher, doc):
matches = matcher(doc) matches = matcher(doc)
@ -11,6 +12,7 @@ def get_rule_id(nlp, matcher, doc):
return rule_id return rule_id
@pytest.mark.xfail
def test_issue2671(): def test_issue2671():
nlp = English() nlp = English()
matcher = Matcher(nlp.vocab) matcher = Matcher(nlp.vocab)