(self)
| 1201 | interrupted=True, stats=0) |
| 1202 | |
| 1203 | def test_slowest(self): |
| 1204 | # test --slowest |
| 1205 | tests = [self.create_test() for index in range(3)] |
| 1206 | output = self.run_tests("--slowest", *tests) |
| 1207 | self.check_executed_tests(output, tests, stats=len(tests)) |
| 1208 | regex = ('10 slowest tests:\n' |
| 1209 | '(?:- %s: .*\n){%s}' |
| 1210 | % (self.TESTNAME_REGEX, len(tests))) |
| 1211 | self.check_line(output, regex) |
| 1212 | |
| 1213 | def test_slowest_interrupted(self): |
| 1214 | # Issue #25373: test --slowest with an interrupted test |
nothing calls this directly
no test coverage detected