Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ test_lock_context
Method
test_lock_context
Lib/test/_test_multiprocessing.py:1525–1527 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1523
self.assertRaises((AssertionError, RuntimeError), lock.release)
1524
1525
def
test_lock_context(self):
1526
with
self.Lock():
1527
pass
1528
1529
1530
class
_TestSemaphore(BaseTestCase):
Callers
nothing calls this directly
Calls
1
Lock
Method · 0.80
Tested by
no test coverage detected