Reduce flakiness of taskgroups test 13 (GH-31411)

This commit is contained in:
Guido van Rossum 2022-02-18 09:28:56 -08:00 committed by GitHub
parent cf345e945f
commit 80a9ba537f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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: