Update conftest fixture

This commit is contained in:
Ines Montani 2017-01-04 00:48:21 +01:00
parent ee6b49b293
commit 109f202e8f

View File

@ -1,7 +1,7 @@
import pytest
from spacy.en import English
from ...en import English
@pytest.fixture(scope="module")
def en_tokenizer(EN):
return EN.tokenizer
@pytest.fixture
def en_tokenizer():
return English.Defaults.create_tokenizer()