We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de3d820 commit 9712241Copy full SHA for 9712241
Lib/test/test_asyncio/test_taskgroups.py
@@ -388,7 +388,7 @@ async def crash_after(t):
388
389
async def runner():
390
async with taskgroups.TaskGroup(name='g1') as g1:
391
- g1.create_task(crash_after(0.2))
+ g1.create_task(crash_after(10))
392
393
async with taskgroups.TaskGroup(name='g2') as g2:
394
g2.create_task(crash_after(0.1))
@@ -397,7 +397,6 @@ async def runner():
397
with self.assertRaises(ExceptionGroup) as cm:
398
await r
399
400
- # TODO(guido): Check that the nested exception group is expected
401
self.assertEqual(get_error_types(cm.exception), {ExceptionGroup})
402
self.assertEqual(get_error_types(cm.exception.exceptions[0]), {ValueError})
403
0 commit comments