File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4453,7 +4453,7 @@ def test_quit(self):
44534453 y
44544454 """
44554455
4456- stdout , stderr = self ._run_script (script , commands )
4456+ stdout , stderr = self ._run_script (script , commands , expected_returncode = 1 )
44574457 self .assertIn ("2" , stdout )
44584458 self .assertIn ("Quit anyway" , stdout )
44594459 # Closing stdin will quit the debugger anyway so we need to confirm
@@ -4483,7 +4483,7 @@ def test_quit_after_interact(self):
44834483 y
44844484 """
44854485
4486- stdout , stderr = self ._run_script (script , commands )
4486+ stdout , stderr = self ._run_script (script , commands , expected_returncode = 1 )
44874487 # Normal exit should not print anything to stderr
44884488 self .assertEqual (stderr , "" )
44894489 # The quit prompt should be printed exactly once
You can’t perform that action at this time.
0 commit comments