(self, test, subtest, err)
| 319 | super().addFailure(test, err) |
| 320 | |
| 321 | def addSubTest(self, test, subtest, err): |
| 322 | # Follow Python's implementation of unittest.TestResult.addSubTest() by |
| 323 | # not doing anything when a subtest is successful. |
| 324 | if err is not None: |
| 325 | # Call check_picklable() before check_subtest_picklable() since |
| 326 | # check_picklable() performs the tblib check. |
| 327 | self.check_picklable(test, err) |
| 328 | self.check_subtest_picklable(test, subtest) |
| 329 | self.events.append(("addSubTest", self.test_index, subtest, err)) |
| 330 | super().addSubTest(test, subtest, err) |
| 331 | |
| 332 | def addSuccess(self, test): |
| 333 | self.events.append(("addSuccess", self.test_index)) |
nothing calls this directly
no test coverage detected