Lower conftest.py

This commit is contained in:
Franck Charras 2023-12-19 14:20:22 +01:00
parent 340ba5b87e
commit 901d3d46ba
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ class TestPytestPluginInteractions:
pytester.makepyfile(**{"tests/conftest.py": ""}) pytester.makepyfile(**{"tests/conftest.py": ""})
conftest = pytester.path.joinpath("tests/conftest.py") conftest = pytester.path.joinpath("tests/conftest.py")
conftest_lower = type(conftest)("TESTS/CONFTEST.PY") conftest_lower = pytester.path.joinpath("TESTS/conftest.py")
mod = config.pluginmanager._importconftest( mod = config.pluginmanager._importconftest(
conftest, importmode="prepend", rootpath=pytester.path conftest, importmode="prepend", rootpath=pytester.path