We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2a724a1 + b9111fe commit 880e368Copy full SHA for 880e368
changelog/5634.bugfix.rst
@@ -1 +1,2 @@
1
-``pytest.exit`` and ``bdb.BdbQuit`` are now correctly handled in ``unittest`` cases.
+``pytest.exit`` is now correctly handled in ``unittest`` cases.
2
+This makes ``unittest`` cases handle ``quit`` from pytest's pdb correctly.
testing/test_unittest.py
@@ -1085,4 +1085,4 @@ def test_should_not_run(self):
1085
"""
1086
)
1087
result = testdir.runpytest()
1088
- result.stdout.fnmatch_lines("*Exit: pytest_exit called*")
+ result.stdout.fnmatch_lines(["*Exit: pytest_exit called*", "*= no tests ran in *"])
0 commit comments