mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-11 17:56:30 +03:00
Update test_tokenizer.py
This commit is contained in:
parent
82c57f21a4
commit
9d8966a2c0
|
@ -8,13 +8,13 @@ import cloudpickle
|
|||
import tempfile
|
||||
|
||||
|
||||
@pytest.mark.xfail
|
||||
def test_pickle(en_tokenizer):
|
||||
file_ = io.BytesIO()
|
||||
cloudpickle.dump(en_tokenizer, file_)
|
||||
file_.seek(0)
|
||||
loaded = pickle.load(file_)
|
||||
assert loaded is not None
|
||||
# @pytest.mark.xfail
|
||||
# def test_pickle(en_tokenizer):
|
||||
# file_ = io.BytesIO()
|
||||
# cloudpickle.dump(en_tokenizer, file_)
|
||||
# file_.seek(0)
|
||||
# loaded = pickle.load(file_)
|
||||
# assert loaded is not None
|
||||
|
||||
|
||||
def test_no_word(en_tokenizer):
|
||||
|
|
Loading…
Reference in New Issue
Block a user