MCPcopy Index your code
hub / github.com/python/cpython / DummyList

Method DummyList

Lib/test/_test_multiprocessing.py:2261–2267  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2259 self.barrier = None
2260
2261 def DummyList(self):
2262 if self.TYPE == 'threads':
2263 return []
2264 elif self.TYPE == 'manager':
2265 return self.manager.list()
2266 else:
2267 return _DummyList()
2268
2269 def run_threads(self, f, args):
2270 b = Bunch(self, f, args, self.N-1)

Callers 8

test_barrierMethod · 0.95
test_actionMethod · 0.95
test_abortMethod · 0.95
test_resetMethod · 0.95
test_abort_and_resetMethod · 0.95
test_timeoutMethod · 0.95
test_default_timeoutMethod · 0.95
__init__Method · 0.80

Calls 2

_DummyListClass · 0.85
listMethod · 0.45

Tested by

no test coverage detected