mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +03:00
Fix tokenizer fixture scope
This commit is contained in:
parent
efc37ea3de
commit
078232932c
|
@ -37,7 +37,7 @@ def FR(request):
|
|||
return load_test_model(request.param)
|
||||
|
||||
|
||||
@pytest.fixture(params=_languages, scope='session')
|
||||
@pytest.fixture(params=_languages, scope='module')
|
||||
def tokenizer(request):
|
||||
lang = util.get_lang_class(request.param)
|
||||
return lang.Defaults.create_tokenizer()
|
||||
|
|
Loading…
Reference in New Issue
Block a user