From 56b30a9a53aa0c45187b36ff000f75cecd540c9a Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Mon, 11 Jul 2022 14:05:05 -0400 Subject: [PATCH] Add sleep around ctl-c iteration loop --- tests/test_debugger.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_debugger.py b/tests/test_debugger.py index 7d07977..a373efe 100644 --- a/tests/test_debugger.py +++ b/tests/test_debugger.py @@ -155,6 +155,7 @@ def do_ctlc( # make sure ctl-c sends don't do anything but repeat output for _ in range(count): + time.sleep(0.001) child.sendcontrol('c') child.expect(r"\(Pdb\+\+\)")