Handle earlier name error crash in debug test
parent
6c8cacc9d1
commit
48f6d514ef
|
@ -634,8 +634,13 @@ def test_multi_daemon_subactors(
|
|||
# expect another breakpoint actor entry
|
||||
child.sendline('c')
|
||||
child.expect(r"\(Pdb\+\+\)")
|
||||
assert_before(child, [bp_forever_msg])
|
||||
|
||||
try:
|
||||
assert_before(child, [bp_forever_msg])
|
||||
except AssertionError:
|
||||
assert_before(child, [name_error_msg])
|
||||
|
||||
else:
|
||||
if ctlc:
|
||||
do_ctlc(child)
|
||||
|
||||
|
@ -660,10 +665,6 @@ def test_multi_daemon_subactors(
|
|||
except AssertionError:
|
||||
break
|
||||
|
||||
# child.sendline('c')
|
||||
# assert_before(
|
||||
|
||||
# child.sendline('c')
|
||||
assert_before(
|
||||
child,
|
||||
[
|
||||
|
|
Loading…
Reference in New Issue