Lower conftest.py
This commit is contained in:
parent
340ba5b87e
commit
901d3d46ba
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue