Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ tearDown
Method
tearDown
Lib/test/test_importlib/test_locks.py:39–41 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
37
test_repr_count = None
38
39
def
tearDown(self):
40
for
splitinit in init.values():
41
splitinit._bootstrap._blocking_on.clear()
42
43
44
LOCK_TYPES = {kind: splitinit._bootstrap._ModuleLock
Callers
nothing calls this directly
Calls
2
values
Method · 0.45
clear
Method · 0.45
Tested by
no test coverage detected