mirror of https://github.com/pyodide/pyodide.git
Python < 3.5 compatibility
This commit is contained in:
parent
83cfefb26d
commit
34f297a679
|
@ -48,7 +48,7 @@ def pytest_generate_tests(metafunc):
|
||||||
if 'python_test' in metafunc.fixturenames:
|
if 'python_test' in metafunc.fixturenames:
|
||||||
test_modules = []
|
test_modules = []
|
||||||
with open(
|
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:
|
for line in fp:
|
||||||
line = line.strip()
|
line = line.strip()
|
||||||
if line.startswith('#'):
|
if line.startswith('#'):
|
||||||
|
|
Loading…
Reference in New Issue