diff --git a/tests/test_debugger.py b/tests/test_debugger.py index 23e4b24..55b77ea 100644 --- a/tests/test_debugger.py +++ b/tests/test_debugger.py @@ -418,15 +418,15 @@ def test_multi_subactors( # 2nd name_error failure child.expect(r"\(Pdb\+\+\)") + # XXX: lol honestly no idea why CI is suck a cuck + from conftest import _ci_env + name = 'name_error' if _ci_env else 'name_error_1' + assert_before(child, [ - "Attaching to pdb in crashed actor: ('name_error_1'", + f"Attaching to pdb in crashed actor: ('{name}'", "NameError", ]) - # before = str(child.before.decode()) - # assert "Attaching to pdb in crashed actor: ('name_error_1'" in before - # assert "NameError" in before - if ctlc: do_ctlc(child)