From 928db7e41944f4765ad5764cffd4fcb5fc5d69cc Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Wed, 11 Jan 2017 14:07:48 +0100 Subject: [PATCH] Fix StringIO import for Python 3 --- spacy/tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/tests/conftest.py b/spacy/tests/conftest.py index c5ea99007..f6d6728a4 100644 --- a/spacy/tests/conftest.py +++ b/spacy/tests/conftest.py @@ -13,7 +13,7 @@ from ..hu import Hungarian from ..tokens import Doc from ..attrs import ORTH, TAG, HEAD, DEP -from StringIO import StringIO +from io import StringIO import pytest