mirror of
https://github.com/explosion/spaCy.git
synced 2025-02-03 21:24:11 +03:00
Test with the non-loaded versions of the English and German pipelines.
This commit is contained in:
parent
0e2bedc373
commit
1318d0bc65
|
@ -1,16 +1,17 @@
|
|||
import pytest
|
||||
import os
|
||||
|
||||
import spacy
|
||||
from ..en import English
|
||||
from ..de import German
|
||||
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
def EN():
|
||||
return spacy.load("en")
|
||||
return English(path=None)
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
def DE():
|
||||
return spacy.load("de")
|
||||
return German(path=None)
|
||||
|
||||
|
||||
def pytest_addoption(parser):
|
||||
|
|
Loading…
Reference in New Issue
Block a user