Woops, fix missing `assert` thanks to copilot

main^2
Tyler Goodlet 2025-09-11 13:13:18 -04:00
parent 0c6d512ba4
commit 9f757ffa63
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ def test_cancel_ctx_with_parent_side_entered_in_bg_task(
with pytest.raises(tractor.ContextCancelled) as excinfo: with pytest.raises(tractor.ContextCancelled) as excinfo:
trio.run(main) trio.run(main)
'root' in excinfo.value.canceller[0] assert 'root' in excinfo.value.canceller[0]
# def test_parent_actor_cancels_subactor_with_gt1_ctxs_open_to_it( # def test_parent_actor_cancels_subactor_with_gt1_ctxs_open_to_it(