Skip to content

Commit

Permalink
Do child decode on do_ctlc exit?
Browse files Browse the repository at this point in the history
  • Loading branch information
goodboy committed Jul 15, 2022
1 parent 90a1335 commit 5947e93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_debugger.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
import pytest
import pexpect

from conftest import repodir, _ci_env

from conftest import repodir

# TODO: The next great debugger audit could be done by you!
# - recurrent entry to breakpoint() from single actor *after* and an
Expand Down Expand Up @@ -171,12 +170,13 @@ def do_ctlc(
time.sleep(delay)
child.expect(r"\(Pdb\+\+\)")
time.sleep(delay)
before = str(child.before.decode())

if patt:
# should see the last line on console
assert patt in before

before = str(child.before.decode())


def test_root_actor_bp_forever(
spawn,
Expand Down

0 comments on commit 5947e93

Please sign in to comment.