Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ test_rlock_context
Method
test_rlock_context
Lib/test/_test_multiprocessing.py:1722–1724 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1720
self.assertTrue(locked)
1721
1722
def
test_rlock_context(self):
1723
with
self.RLock()
as
locked:
1724
self.assertTrue(locked)
1725
1726
1727
class
_TestSemaphore(BaseTestCase):
Callers
nothing calls this directly
Calls
2
RLock
Method · 0.80
assertTrue
Method · 0.80
Tested by
no test coverage detected