(self)
| 1167 | interrupted=True, stats=0) |
| 1168 | |
| 1169 | def test_slowest(self): |
| 1170 | # test --slowest |
| 1171 | tests = [self.create_test() for index in range(3)] |
| 1172 | output = self.run_tests("--slowest", *tests) |
| 1173 | self.check_executed_tests(output, tests, stats=len(tests)) |
| 1174 | regex = ('10 slowest tests:\n' |
| 1175 | '(?:- %s: .*\n){%s}' |
| 1176 | % (self.TESTNAME_REGEX, len(tests))) |
| 1177 | self.check_line(output, regex) |
| 1178 | |
| 1179 | def test_slowest_interrupted(self): |
| 1180 | # Issue #25373: test --slowest with an interrupted test |
nothing calls this directly
no test coverage detected