Add sleep around ctl-c iteration loop

signint_saviour
Tyler Goodlet 2022-07-11 14:05:05 -04:00
parent 925d5c1ceb
commit 56b30a9a53
1 changed files with 1 additions and 0 deletions

View File

@ -155,6 +155,7 @@ def do_ctlc(
# make sure ctl-c sends don't do anything but repeat output # make sure ctl-c sends don't do anything but repeat output
for _ in range(count): for _ in range(count):
time.sleep(0.001)
child.sendcontrol('c') child.sendcontrol('c')
child.expect(r"\(Pdb\+\+\)") child.expect(r"\(Pdb\+\+\)")