From 9b6784bab52227fc5e0d5bc6ba0f13fcac64f9ff Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Thu, 12 Jan 2017 15:05:40 +0100 Subject: [PATCH] Add fixture for StringStore --- spacy/tests/conftest.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spacy/tests/conftest.py b/spacy/tests/conftest.py index 31ec9cfe7..0703359ce 100644 --- a/spacy/tests/conftest.py +++ b/spacy/tests/conftest.py @@ -11,6 +11,7 @@ from ..nl import Dutch from ..sv import Swedish from ..hu import Hungarian from ..tokens import Doc +from ..strings import StringStore from ..attrs import ORTH, TAG, HEAD, DEP from io import StringIO @@ -51,6 +52,9 @@ def de_tokenizer(): def hu_tokenizer(): return Hungarian.Defaults.create_tokenizer() +@pytest.fixture +def stringstore(): + return StringStore() @pytest.fixture def text_file():