mirror of
https://github.com/explosion/spaCy.git
synced 2025-03-03 19:08:06 +03:00
* Fix mode on text file for Python3 in strings test
This commit is contained in:
parent
725344d349
commit
a0730699b1
|
@ -96,7 +96,7 @@ def test_pickle_string_store(sstore):
|
||||||
|
|
||||||
def test_dump_load(sstore):
|
def test_dump_load(sstore):
|
||||||
id_ = sstore[u'qqqqq']
|
id_ = sstore[u'qqqqq']
|
||||||
with tempfile.TemporaryFile() as file_:
|
with tempfile.TemporaryFile('w+bt') as file_:
|
||||||
sstore.dump(file_)
|
sstore.dump(file_)
|
||||||
file_.seek(0)
|
file_.seek(0)
|
||||||
new_store = StringStore()
|
new_store = StringStore()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user