Skip to content

Commit

Permalink
Add sleep around ctl-c iteration loop
Browse files Browse the repository at this point in the history
  • Loading branch information
goodboy committed Jul 11, 2022
1 parent 7ff2424 commit 16cf07f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_debugger.py
Original file line number Diff line number Diff line change
Expand Up @@ -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\+\+\)")

Expand Down

0 comments on commit 16cf07f

Please sign in to comment.