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

Method run

Lib/unittest/suite.py:60–67  ·  view source on GitHub ↗
(self, result)

Source from the content-addressed store, hash-verified

58 self.addTest(test)
59
60 def run(self, result):
61 for index, test in enumerate(self):
62 if result.shouldStop:
63 break
64 test(result)
65 if self._cleanup:
66 self._removeTestAtIndex(index)
67 return result
68
69 def _removeTestAtIndex(self, index):
70 """Stop holding a reference to the TestCase at index."""

Callers 2

__call__Method · 0.95
test_basetestsuiteMethod · 0.95

Calls 3

_removeTestAtIndexMethod · 0.95
enumerateFunction · 0.85
testFunction · 0.50

Tested by 1

test_basetestsuiteMethod · 0.76