(self)
| 347 | cm.reschedule(0.02) |
| 348 | |
| 349 | async def test_timeout_expiring(self): |
| 350 | async with asyncio.timeout(0.01) as cm: |
| 351 | with self.assertRaises(asyncio.CancelledError): |
| 352 | await asyncio.sleep(1) |
| 353 | with self.assertRaisesRegex(RuntimeError, "expiring"): |
| 354 | cm.reschedule(0.02) |
| 355 | |
| 356 | async def test_timeout_not_entered(self): |
| 357 | cm = asyncio.timeout(0.01) |
nothing calls this directly
no test coverage detected