MCPcopy 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
249def 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
257class TestBase(unittest.TestCase):

Callers 2

tearDownMethod · 0.85
clean_upMethod · 0.85

Calls 1

destroyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…