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

Method testWithRLock

Lib/test/test_contextlib.py:477–479  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

475 self.boilerPlate(lock, lock.locked)
476
477 def testWithRLock(self):
478 lock = threading.RLock()
479 self.boilerPlate(lock, lock._is_owned)
480
481 def testWithCondition(self):
482 lock = threading.Condition()

Callers

nothing calls this directly

Calls 2

boilerPlateMethod · 0.95
RLockMethod · 0.80

Tested by

no test coverage detected