Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ clean_up_channels
Function
clean_up_channels
Lib/test/test__interpchannels.py:249–254 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
247
248
249
def
clean_up_channels():
250
for
cid, _, _ in _channels.list_all():
251
try
:
252
_channels.destroy(cid)
253
except
_channels.ChannelNotFoundError:
254
pass
# already destroyed
255
256
257
class
TestBase(unittest.TestCase):
Callers
2
tearDown
Method · 0.85
clean_up
Method · 0.85
Calls
1
destroy
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…