mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-10 16:22:29 +03:00
Xfail test for issue #2671
This commit is contained in:
parent
7cfa665ce6
commit
f12b9190f6
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user