mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-13 10:46:29 +03:00
Fix parser test
This commit is contained in:
parent
b39409173e
commit
61a503a611
|
@ -58,8 +58,9 @@ def en_vocab():
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def en_parser():
|
def en_parser(en_vocab):
|
||||||
return util.get_lang_class('en').Defaults.create_parser()
|
nlp = util.get_lang_class('en')(en_vocab)
|
||||||
|
return nlp.create_pipe('parser')
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
|
|
Loading…
Reference in New Issue
Block a user