Update test_issue1971.py

This commit is contained in:
Ines Montani 2019-02-18 13:36:15 +01:00
parent 38e4422c0d
commit f30aac324c
1 changed files with 1 additions and 0 deletions

View File

@ -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"])