MCPcopy Index your code
hub / github.com/python/cpython / test_wait_unacquired

Method test_wait_unacquired

Lib/test/test_asyncio/test_locks.py:520–523  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

518 self.assertTrue(waited)
519
520 async def test_wait_unacquired(self):
521 cond = asyncio.Condition()
522 with self.assertRaises(RuntimeError):
523 await cond.wait()
524
525 async def test_wait_for(self):
526 cond = asyncio.Condition()

Callers

nothing calls this directly

Calls 3

waitMethod · 0.95
ConditionMethod · 0.45
assertRaisesMethod · 0.45

Tested by

no test coverage detected