mirror of
https://github.com/explosion/spaCy.git
synced 2024-09-21 11:29:13 +03:00
Fix xfail marker
This commit is contained in:
parent
d811c97da1
commit
188ccd5750
|
@ -65,7 +65,7 @@ prefix_search = (
|
||||||
if compat.is_python2:
|
if compat.is_python2:
|
||||||
# If we have this test in Python 3, pytest chokes, as it can't print the
|
# If we have this test in Python 3, pytest chokes, as it can't print the
|
||||||
# string above in the xpass message.
|
# string above in the xpass message.
|
||||||
@pytest.xfail
|
@pytest.mark.xfail
|
||||||
def test_issue3356():
|
def test_issue3356():
|
||||||
pattern = re.compile(prefix_search.decode("utf8"))
|
pattern = re.compile(prefix_search.decode("utf8"))
|
||||||
assert not pattern.search(u"hello")
|
assert not pattern.search(u"hello")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user