diff --git a/tests/parser/test_parse_navigate.py b/tests/parser/test_parse_navigate.py index 1771dbeba..eac57a5cd 100644 --- a/tests/parser/test_parse_navigate.py +++ b/tests/parser/test_parse_navigate.py @@ -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