We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7513994 commit c62b49eCopy full SHA for c62b49e
1 file changed
Lib/test/test_asyncio/test_events.py
@@ -1693,12 +1693,9 @@ async def main():
1693
self.loop.stop()
1694
return res
1695
1696
- start = time.monotonic()
1697
t = self.loop.create_task(main())
1698
self.loop.run_forever()
1699
- elapsed = time.monotonic() - start
1700
1701
- self.assertLess(elapsed, 0.1)
1702
self.assertEqual(t.result(), 'cancelled')
1703
self.assertRaises(asyncio.CancelledError, f.result)
1704
if ov is not None:
0 commit comments