mirror of
https://github.com/explosion/spaCy.git
synced 2025-03-03 02:48:04 +03:00
* Mark pickle tests as xfail, due to temp files problem
This commit is contained in:
parent
87172a15c6
commit
de94e6c525
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user