(self)
| 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 |