mirror of https://github.com/explosion/spaCy.git
Update test_issue1971.py
This commit is contained in:
parent
38e4422c0d
commit
f30aac324c
|
@ -38,6 +38,7 @@ def test_issue_1971_2(en_vocab):
|
||||||
|
|
||||||
@pytest.mark.xfail
|
@pytest.mark.xfail
|
||||||
def test_issue_1971_3(en_vocab):
|
def test_issue_1971_3(en_vocab):
|
||||||
|
"""Test that pattern matches correctly for multiple extension attributes."""
|
||||||
Token.set_extension("a", default=1)
|
Token.set_extension("a", default=1)
|
||||||
Token.set_extension("b", default=2)
|
Token.set_extension("b", default=2)
|
||||||
doc = Doc(en_vocab, words=["hello", "world"])
|
doc = Doc(en_vocab, words=["hello", "world"])
|
||||||
|
|
Loading…
Reference in New Issue