xfail regression test for model labels

This commit is contained in:
Matthew Honnibal 2019-02-13 01:14:26 +11:00
parent bc300d4e31
commit 43fa039d96

View File

@ -1,7 +1,9 @@
'''Test that labels are mapped to classes consistently when loading NER model.''' '''Test that labels are mapped to classes consistently when loading NER model.'''
from __future__ import unicode_literals from __future__ import unicode_literals
from spacy.lang.en import English from spacy.lang.en import English
import pytest
@pytest.mark.xfail
def test_issue3209(): def test_issue3209():
'''Test issue that occurred in spaCy nightly where NER labels were being '''Test issue that occurred in spaCy nightly where NER labels were being
mapped to classes incorrectly after loading the model, when the labels mapped to classes incorrectly after loading the model, when the labels