summaryrefslogtreecommitdiff
path: root/testing/test_pdb.py
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-04-03 04:07:42 +0200
committerDaniel Hahler <git@thequod.de>2019-04-03 05:09:21 +0200
commitcc90bcce4c3d6bc55aeb85a6450020cb4a2e49f2 (patch)
treebabb85b55141eeff1176fb34891eab16f7ae29a1 /testing/test_pdb.py
parent1c9dcf1f3902d22c253b692030812f537053d492 (diff)
downloadpytest-cc90bcce4c3d6bc55aeb85a6450020cb4a2e49f2.tar.gz
wrap_session: restore old behavior for initstate=1
Diffstat (limited to 'testing/test_pdb.py')
-rw-r--r--testing/test_pdb.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/test_pdb.py b/testing/test_pdb.py
index 531846e8e..f524f06a2 100644
--- a/testing/test_pdb.py
+++ b/testing/test_pdb.py
@@ -1015,7 +1015,8 @@ class TestTraceOption:
rest = child.read().decode("utf8")
assert "2 passed in" in rest
assert "reading from stdin while output" not in rest
- assert "Exit: Quitting debugger" in child.before.decode("utf8")
+ # Only printed once - not on stderr.
+ assert "Exit: Quitting debugger" not in child.before.decode("utf8")
TestPDB.flush(child)