MCPcopy Index your code
hub / github.com/RustPython/RustPython / DummyList

Method DummyList

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

Source from the content-addressed store, hash-verified

2055 self.barrier = None
2056
2057 def DummyList(self):
2058 if self.TYPE == 'threads':
2059 return []
2060 elif self.TYPE == 'manager':
2061 return self.manager.list()
2062 else:
2063 return _DummyList()
2064
2065 def run_threads(self, f, args):
2066 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