From 6bdcbdb96f2b100055a9b127f2df5acddb99b075 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 12 Jul 2022 17:34:06 -0400 Subject: [PATCH] Do child decode on `do_ctlc` exit? --- tests/test_debugger.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_debugger.py b/tests/test_debugger.py index 4c0bef4..b5c959b 100644 --- a/tests/test_debugger.py +++ b/tests/test_debugger.py @@ -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,