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

Method _makeResult

Lib/unittest/runner.py:210–217  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

208 self.resultclass = resultclass
209
210 def _makeResult(self):
211 try:
212 return self.resultclass(self.stream, self.descriptions,
213 self.verbosity, durations=self.durations)
214 except TypeError:
215 # didn't accept the durations argument
216 return self.resultclass(self.stream, self.descriptions,
217 self.verbosity)
218
219 def _printDurations(self, result):
220 if not result.collectedDurations:

Callers 2

runMethod · 0.95
test_resultclassMethod · 0.95

Calls

no outgoing calls

Tested by 1

test_resultclassMethod · 0.76