From 90fc6169061d7267805714f3187804886c901c5a Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Wed, 1 Sep 2021 07:54:13 -0300 Subject: [PATCH] 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. --- testing/acceptance_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/acceptance_test.py b/testing/acceptance_test.py index f7f21ba..3e30e45 100644 --- a/testing/acceptance_test.py +++ b/testing/acceptance_test.py @@ -568,7 +568,7 @@ def test_fixture_teardown_failure(testdir): pass """ ) - result = testdir.runpytest_subprocess("--debug", p) # , "-n1") + result = testdir.runpytest_subprocess(p, "-n1") result.stdout.fnmatch_lines(["*ValueError*42*", "*1 passed*1 error*"]) assert result.ret