diff --git a/tests/test_autouse.py b/tests/test_autouse.py index 14a3290..9a4075f 100644 --- a/tests/test_autouse.py +++ b/tests/test_autouse.py @@ -201,7 +201,7 @@ def test_two(): ss_tracer().append("t2") pytester = unmagic_tester() - pytester.makeini('[pytest]\npythonpath = .\n') + pytester.makeini(f'[pytest]\npythonpath = {pytester.path}\n') pytester.makepyfile(plug=plug_py, test_it=test_py) result = pytester.runpytest("-s", "-pplug")