Show More
@@ -2258,14 +2258,17 b' class TextTestRunner(unittest.TextTestRu' | |||
|
2258 | 2258 | self.stream.writeln('') |
|
2259 | 2259 | |
|
2260 | 2260 | if not self._runner.options.noskips: |
|
2261 |
for test, msg in self._result.skipped |
|
|
2261 | for test, msg in sorted(self._result.skipped, | |
|
2262 | key=lambda s: s[0].name): | |
|
2262 | 2263 | formatted = 'Skipped %s: %s\n' % (test.name, msg) |
|
2263 | 2264 | msg = highlightmsg(formatted, self._result.color) |
|
2264 | 2265 | self.stream.write(msg) |
|
2265 |
for test, msg in self._result.failures |
|
|
2266 | for test, msg in sorted(self._result.failures, | |
|
2267 | key=lambda f: f[0].name): | |
|
2266 | 2268 | formatted = 'Failed %s: %s\n' % (test.name, msg) |
|
2267 | 2269 | self.stream.write(highlightmsg(formatted, self._result.color)) |
|
2268 |
for test, msg in self._result.errors |
|
|
2270 | for test, msg in sorted(self._result.errors, | |
|
2271 | key=lambda e: e[0].name): | |
|
2269 | 2272 | self.stream.writeln('Errored %s: %s' % (test.name, msg)) |
|
2270 | 2273 | |
|
2271 | 2274 | if self._runner.options.xunit: |
@@ -324,8 +324,8 b' basic failing test' | |||
|
324 | 324 | |
|
325 | 325 | ERROR: test-failure-unicode.t output changed |
|
326 | 326 | ! |
|
327 | Failed test-failure-unicode.t: output changed | |
|
327 | 328 | Failed test-failure.t: output changed |
|
328 | Failed test-failure-unicode.t: output changed | |
|
329 | 329 | # Ran 3 tests, 0 skipped, 2 failed. |
|
330 | 330 | python hash seed: * (glob) |
|
331 | 331 | [1] |
@@ -356,8 +356,8 b' test --outputdir' | |||
|
356 | 356 | |
|
357 | 357 | ERROR: test-failure-unicode.t output changed |
|
358 | 358 | ! |
|
359 | Failed test-failure-unicode.t: output changed | |
|
359 | 360 | Failed test-failure.t: output changed |
|
360 | Failed test-failure-unicode.t: output changed | |
|
361 | 361 | # Ran 3 tests, 0 skipped, 2 failed. |
|
362 | 362 | python hash seed: * (glob) |
|
363 | 363 | [1] |
@@ -393,8 +393,8 b' test --xunit support' | |||
|
393 | 393 | |
|
394 | 394 | ERROR: test-failure-unicode.t output changed |
|
395 | 395 | ! |
|
396 | Failed test-failure-unicode.t: output changed | |
|
396 | 397 | Failed test-failure.t: output changed |
|
397 | Failed test-failure-unicode.t: output changed | |
|
398 | 398 | # Ran 3 tests, 0 skipped, 2 failed. |
|
399 | 399 | python hash seed: * (glob) |
|
400 | 400 | [1] |
General Comments 0
You need to be logged in to leave comments.
Login now