mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +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):
|
def test_dump_load(sstore):
|
||||||
id_ = sstore[u'qqqqq']
|
id_ = sstore[u'qqqqq']
|
||||||
with tempfile.TemporaryFile('tw') as file_:
|
with tempfile.TemporaryFile('wt') 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