* Set test file mode to w+t

This commit is contained in:
Matthew Honnibal 2015-10-26 22:40:48 +11:00
parent 0fe98f358b
commit 1c0356e4c2

View File

@ -96,7 +96,7 @@ def test_pickle_string_store(sstore):
def test_dump_load(sstore):
id_ = sstore[u'qqqqq']
with tempfile.TemporaryFile('wt') as file_:
with tempfile.TemporaryFile('w+t') as file_:
sstore.dump(file_)
file_.seek(0)
new_store = StringStore()