From 4a854b6038081418a5997ad4bfd627c99a8290ae Mon Sep 17 00:00:00 2001 From: Daniel Miller Date: Thu, 17 Oct 2024 16:44:03 -0400 Subject: [PATCH] Fix test requiring unreleased pytest feature --- tests/test_autouse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")