mirror of https://github.com/python/cpython
Reduce flakiness of taskgroups test 13 (GH-31411)
This commit is contained in:
parent
cf345e945f
commit
80a9ba537f
|
@ -372,7 +372,7 @@ class TestTaskGroup(unittest.IsolatedAsyncioTestCase):
|
|||
g1.create_task(crash_after(0.1))
|
||||
|
||||
async with taskgroups.TaskGroup() as g2:
|
||||
g2.create_task(crash_after(0.2))
|
||||
g2.create_task(crash_after(10))
|
||||
|
||||
r = asyncio.create_task(runner())
|
||||
with self.assertRaises(ExceptionGroup) as cm:
|
||||
|
|
Loading…
Reference in New Issue