Update conftest fixture

This commit is contained in:
Ines Montani 2017-01-04 00:48:21 +01:00
parent ee6b49b293
commit 109f202e8f
1 changed files with 4 additions and 4 deletions

View File

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