6 | | def addSubTest(self, test, subtest, err): |
7 | | # Following unittest.TestResult.addSubTest()'s implementation in |
8 | | # Python 3.5, we don't do anything with subtests on success |
9 | | # See here for the Django ticket to support subtests with the |
10 | | # --parallel test option: |
11 | | # https://code.djangoproject.com/ticket/26942 |
12 | | if err is not None: |
13 | | self.check_picklable(test, err) |
14 | | self.events.append(('addSubTest', self.test_index, subtest, err)) |
15 | | self.stop_if_failfast() |
| 6 | def addSubTest(self, test, subtest, err): |
| 7 | # Following unittest.TestResult.addSubTest()'s implementation in |
| 8 | # Python 3.5, we don't do anything with subtests on success |
| 9 | # See here for the Django ticket to support subtests with the |
| 10 | # --parallel test option: |
| 11 | # https://code.djangoproject.com/ticket/26942 |
| 12 | if err is not None: |
| 13 | self.check_picklable(test, err) |
| 14 | self.events.append(('addSubTest', self.test_index, subtest, err)) |
| 15 | self.stop_if_failfast() |