* Fix test_parse_navigate looking for test file in wrong place

This commit is contained in:
Matthew Honnibal 2015-10-13 14:19:12 +11:00
parent 358c82595c
commit 59b792058d

View File

@ -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