mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-25 11:23:40 +03:00
* Fix test_parse_navigate looking for test file in wrong place
This commit is contained in:
parent
358c82595c
commit
59b792058d
|
@ -7,7 +7,8 @@ import pytest
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def sun_text():
|
def sun_text():
|
||||||
with io.open(path.join(path.dirname(__file__), 'sun.txt'), 'r', encoding='utf8') as file_:
|
with io.open(path.join(path.dirname(__file__), '..', 'sun.txt'), 'r',
|
||||||
|
encoding='utf8') as file_:
|
||||||
text = file_.read()
|
text = file_.read()
|
||||||
return text
|
return text
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user