wrap_session: restore old behavior for initstate=1

This commit is contained in:
Daniel Hahler
2019-04-03 04:07:42 +02:00
parent 1c9dcf1f39
commit cc90bcce4c
3 changed files with 23 additions and 3 deletions

View File

@@ -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)