Fix assert on `.devx.maybe_open_crash_handler()` delivered `bxerr`

structural_dynamics_of_flow
Tyler Goodlet 2025-04-11 01:16:12 -04:00
parent 0f8b299b4f
commit d534f1491b
1 changed files with 2 additions and 1 deletions

View File

@ -180,6 +180,7 @@ def test_acm_embedded_nursery_propagates_enter_err(
with tractor.devx.maybe_open_crash_handler( with tractor.devx.maybe_open_crash_handler(
pdb=debug_mode, pdb=debug_mode,
) as bxerr: ) as bxerr:
if bxerr:
assert not bxerr.value assert not bxerr.value
async with ( async with (