mirror of https://github.com/explosion/spaCy.git
* 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
|
||||
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()
|
||||
return text
|
||||
|
||||
|
|
Loading…
Reference in New Issue