Add sleep around ctl-c iteration loop
parent
91054a8a42
commit
24fd87d969
|
@ -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\+\+\)")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue