(self)
| 340 | cm.reschedule(0.02) |
| 341 | |
| 342 | async def test_timeout_expired(self): |
| 343 | with self.assertRaises(TimeoutError): |
| 344 | async with asyncio.timeout(0.01) as cm: |
| 345 | await asyncio.sleep(1) |
| 346 | with self.assertRaisesRegex(RuntimeError, "expired"): |
| 347 | cm.reschedule(0.02) |
| 348 | |
| 349 | async def test_timeout_expiring(self): |
| 350 | async with asyncio.timeout(0.01) as cm: |
nothing calls this directly
no test coverage detected