From de94e6c5252cb5a3dd496d97922f9511c1ad968a Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 25 Jan 2016 15:24:17 +0100 Subject: [PATCH] * Mark pickle tests as xfail, due to temp files problem --- spacy/tests/test_pickle.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spacy/tests/test_pickle.py b/spacy/tests/test_pickle.py index 2577f58a6..7762f44b5 100644 --- a/spacy/tests/test_pickle.py +++ b/spacy/tests/test_pickle.py @@ -10,6 +10,8 @@ try: except NameError: unicode = str +# These cause the addition of temp files, that are then not deleted +@pytest.mark.xfail @pytest.mark.models def test_pickle_english(EN): file_ = io.BytesIO() @@ -20,6 +22,7 @@ def test_pickle_english(EN): loaded = pickle.load(file_) assert loaded is not None +@pytest.mark.xfail @pytest.mark.models def test_cloudpickle_to_file(EN): f = tempfile.NamedTemporaryFile(delete=False)