* Mark pickle tests as xfail, due to temp files problem

This commit is contained in:
Matthew Honnibal 2016-01-25 15:24:17 +01:00
parent 87172a15c6
commit de94e6c525

View File

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