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