From 34f297a679eee42b8c89b29a48fc887d27c7b68c Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Fri, 20 Apr 2018 09:53:09 -0400 Subject: [PATCH] Python < 3.5 compatibility --- test/test_python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_python.py b/test/test_python.py index 3dfc5dd18..e80200ebd 100644 --- a/test/test_python.py +++ b/test/test_python.py @@ -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('#'):