From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 17 Mar 2022 01:19:18 +0000 (-0700) Subject: bpo-47038: Increase a test timeout for slow CI machines (GH-31951) X-Git-Tag: v3.9.12~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4e9bb27eaeb8bedcec6f25f4345824b50fc25337;p=thirdparty%2FPython%2Fcpython.git bpo-47038: Increase a test timeout for slow CI machines (GH-31951) (cherry picked from commit a7c54148322781cb0f332d440a3454d550ef6414) Co-authored-by: Andrew Svetlov --- diff --git a/Lib/test/test_asyncio/test_waitfor.py b/Lib/test/test_asyncio/test_waitfor.py index 874aabf9bd71..45498fa097f6 100644 --- a/Lib/test/test_asyncio/test_waitfor.py +++ b/Lib/test/test_asyncio/test_waitfor.py @@ -144,7 +144,7 @@ class AsyncioWaitForTest(unittest.IsolatedAsyncioTestCase): self.assertTrue(fut.done()) # it should have been cancelled due to the timeout self.assertTrue(fut.cancelled()) - self.assertLess(t1 - t0, 0.2) + self.assertLess(t1 - t0, 0.5) self.assertEqual(foo_running, False) async def test_wait_for_blocking(self):