diff --git a/spacy/tests/morphology/test_morphology_pickle.py b/spacy/tests/morphology/test_morphology_pickle.py index d8cb88370..d98539d95 100644 --- a/spacy/tests/morphology/test_morphology_pickle.py +++ b/spacy/tests/morphology/test_morphology_pickle.py @@ -8,7 +8,7 @@ from spacy.morphology import Morphology from spacy.lemmatizer import Lemmatizer from spacy.strings import StringStore - +@pytest.mark.xfail def test_pickle(): morphology = Morphology(StringStore(), {}, Lemmatizer({}, {}, {})) diff --git a/spacy/tests/vocab/test_vocab.py b/spacy/tests/vocab/test_vocab.py index 5685d19a7..27aea46ff 100644 --- a/spacy/tests/vocab/test_vocab.py +++ b/spacy/tests/vocab/test_vocab.py @@ -45,6 +45,7 @@ def test_symbols(en_vocab): assert en_vocab.strings['PROB'] == PROB +@pytest.mark.xfail def test_pickle_vocab(en_vocab): file_ = io.BytesIO() cloudpickle.dump(en_vocab, file_) @@ -54,7 +55,7 @@ def test_pickle_vocab(en_vocab): loaded = pickle.load(file_) -@pytest.mark.vectors +@pytest.mark.xfail def test_pickle_vocab_vectors(en_vocab): vectors_length = en_vocab.vectors_length assert vectors_length != 0