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