(self)
| 67 | self.assertGreater(cm.when(), t1) |
| 68 | |
| 69 | async def test_timeout_disabled(self): |
| 70 | async with asyncio.timeout(None) as cm: |
| 71 | await asyncio.sleep(0.01) |
| 72 | |
| 73 | self.assertFalse(cm.expired()) |
| 74 | self.assertIsNone(cm.when()) |
| 75 | |
| 76 | async def test_timeout_at_disabled(self): |
| 77 | async with asyncio.timeout_at(None) as cm: |
nothing calls this directly
no test coverage detected