Merge remote-tracking branch 'refs/remotes/honnibal/master'

This commit is contained in:
maxirmx 2015-10-14 06:49:00 +03:00
commit 968033ba7d
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# -*- coding: utf8 -*-
from __future__ import unicode_literals
import pickle
import StringIO
import io
from spacy.strings import StringStore
@ -82,7 +82,7 @@ def test_massive_strings(sstore):
def test_pickle_string_store(sstore):
hello_id = sstore[u'Hi']
string_file = StringIO.StringIO()
string_file = io.BytesIO()
pickle.dump(sstore, string_file)
string_file.seek(0)