From 8ba9cf905e9c74eeb1f2110b6ef63dc3cab994bb Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 26 Oct 2015 21:44:34 +1100 Subject: [PATCH] * Fix mode on text file for Python3 in strings test --- spacy/tests/vocab/test_intern.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/tests/vocab/test_intern.py b/spacy/tests/vocab/test_intern.py index 111c0bfff..01a317a32 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('w+bt') as file_: + with tempfile.TemporaryFile('tw') as file_: sstore.dump(file_) file_.seek(0) new_store = StringStore()