Skip to content
Prev Previous commit
Next Next commit
Update Lib/test/test_asyncio/test_taskgroups.py
  • Loading branch information
graingert authored Jan 20, 2025
commit 867bacbc752a94fcd50f4f13cad4c33b9240f3d9
2 changes: 2 additions & 0 deletions Lib/test/test_asyncio/test_taskgroups.py
Original file line number Diff line number Diff line change
Expand Up @@ -1081,6 +1081,8 @@ async def throw_error():
tg.create_task(throw_error())
except* MyError:
pass
Comment thread
kumaraditya303 marked this conversation as resolved.
Comment thread
graingert marked this conversation as resolved.
else:
self.fail("should have raised one MyError in group")

await asyncio.sleep(0)
Comment thread
graingert marked this conversation as resolved.

Expand Down