forked from goodboy/tractor
1
0
Fork 0

Do child decode on `do_ctlc` exit?

sigintsaviour_citesthackin
Tyler Goodlet 2022-07-12 17:34:06 -04:00
parent d971e9bc9d
commit b659326d5b
1 changed files with 3 additions and 3 deletions

View File

@ -18,8 +18,7 @@ from typing import Optional
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
@ -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,