Skip to content

Commit 519b860

Browse files
committed
model_dir == TEST_MODELS_DIR for the download_method=None
1 parent 4b15490 commit 519b860

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stanza/tests/morphseg/test_stanza_integration.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import pytest
77
import stanza
88
from stanza.models.common.doc import Document
9+
from stanza.tests import TEST_MODELS_DIR
910

1011
pytestmark = [pytest.mark.travis, pytest.mark.pipeline]
1112

@@ -18,6 +19,7 @@ def en_pipeline(self):
1819
return stanza.Pipeline(
1920
lang='en',
2021
processors='tokenize,morphseg',
22+
model_dir=TEST_MODELS_DIR,
2123
download_method=None
2224
)
2325

0 commit comments

Comments
 (0)