diff --git a/spacy/tests/vocab/test_intern.py b/spacy/tests/vocab/test_intern.py index 01a317a32..f378f3c29 100644 --- a/spacy/tests/vocab/test_intern.py +++ b/spacy/tests/vocab/test_intern.py @@ -96,7 +96,7 @@ def test_pickle_string_store(sstore): def test_dump_load(sstore): id_ = sstore[u'qqqqq'] - with tempfile.TemporaryFile('tw') as file_: + with tempfile.TemporaryFile('wt') as file_: sstore.dump(file_) file_.seek(0) new_store = StringStore()