()
| 136 | NUM += 1 |
| 137 | |
| 138 | async def runner(): |
| 139 | nonlocal NUM, t2 |
| 140 | |
| 141 | async with taskgroups.TaskGroup() as g: |
| 142 | g.create_task(foo1()) |
| 143 | t2 = g.create_task(foo2()) |
| 144 | |
| 145 | NUM += 10 |
| 146 | |
| 147 | with self.assertRaises(ExceptionGroup) as cm: |
| 148 | await asyncio.create_task(runner()) |
nothing calls this directly
no test coverage detected