From 901d3d46ba6a557fcd779f8aff185b29f7ccec1b Mon Sep 17 00:00:00 2001 From: Franck Charras <29153872+fcharras@users.noreply.github.com> Date: Tue, 19 Dec 2023 14:20:22 +0100 Subject: [PATCH] Lower conftest.py --- testing/test_pluginmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/test_pluginmanager.py b/testing/test_pluginmanager.py index 4af31d143..72ec5d09c 100644 --- a/testing/test_pluginmanager.py +++ b/testing/test_pluginmanager.py @@ -114,7 +114,7 @@ class TestPytestPluginInteractions: pytester.makepyfile(**{"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( conftest, importmode="prepend", rootpath=pytester.path