mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
Update conftest fixture
This commit is contained in:
parent
ee6b49b293
commit
109f202e8f
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user