mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
* Fix mode on text file for Python3 in strings test
This commit is contained in:
parent
8ba9cf905e
commit
0fe98f358b
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user