mirror of https://github.com/explosion/spaCy.git
Update conftest fixture
This commit is contained in:
parent
ee6b49b293
commit
109f202e8f
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue