Skip to content

Commit 90fc616

Browse files
committed
Fix test_fixture_teardown_failure for pytest master
`--debug` now receives an optional file, so the way the test was calling pytest made it seem like it was passing the python file file as the debug file.
1 parent 5e0b40c commit 90fc616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/acceptance_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ def test_hello(myarg):
568568
pass
569569
"""
570570
)
571-
result = testdir.runpytest_subprocess("--debug", p) # , "-n1")
571+
result = testdir.runpytest_subprocess(p, "-n1")
572572
result.stdout.fnmatch_lines(["*ValueError*42*", "*1 passed*1 error*"])
573573
assert result.ret
574574

0 commit comments

Comments
 (0)