(self)
| 273 | self.assertFalse(lock.locked()) |
| 274 | |
| 275 | async def test_context_manager(self): |
| 276 | lock = asyncio.Lock() |
| 277 | self.assertFalse(lock.locked()) |
| 278 | |
| 279 | async with lock: |
| 280 | self.assertTrue(lock.locked()) |
| 281 | |
| 282 | self.assertFalse(lock.locked()) |
| 283 | |
| 284 | |
| 285 | class EventTests(unittest.IsolatedAsyncioTestCase): |
nothing calls this directly
no test coverage detected