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

Method testRunner

Lib/test/test_unittest/test_break.py:174–180  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

172 self.withRepeats(test_function)
173
174 def testRunner(self):
175 # Creating a TextTestRunner with the appropriate argument should
176 # register the TextTestResult it creates
177 runner = unittest.TextTestRunner(stream=io.StringIO())
178
179 result = runner.run(unittest.TestSuite())
180 self.assertIn(result, unittest.signals._results)
181
182 def testWeakReferences(self):
183 # Calling registerResult on a result should not keep it alive

Callers 1

runTestsMethod · 0.80

Calls 2

runMethod · 0.95
assertInMethod · 0.80

Tested by

no test coverage detected