Python < 3.5 compatibility

This commit is contained in:
Michael Droettboom 2018-04-20 09:53:09 -04:00
parent 83cfefb26d
commit 34f297a679
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ def pytest_generate_tests(metafunc):
if 'python_test' in metafunc.fixturenames:
test_modules = []
with open(
pathlib.Path(__file__).parents[0] / "python_tests.txt") as fp:
str(pathlib.Path(__file__).parents[0] / "python_tests.txt")) as fp:
for line in fp:
line = line.strip()
if line.startswith('#'):