Skip to content

Commit 77ba590

Browse files
committed
Fix test requiring unreleased pytest feature
See pytest-dev/pytest#12536
1 parent b066610 commit 77ba590

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_autouse.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def test_two():
201201
ss_tracer().append("t2")
202202

203203
pytester = unmagic_tester()
204-
pytester.makeini('[pytest]\npythonpath = .\n')
204+
pytester.syspathinsert(pytester.path)
205205
pytester.makepyfile(plug=plug_py, test_it=test_py)
206206

207207
result = pytester.runpytest("-s", "-pplug")

0 commit comments

Comments
 (0)