Show More
@@ -2043,21 +2043,21 b' class TextTestRunner(unittest.TextTestRu' | |||||
2043 |
|
2043 | |||
2044 | if not self._runner.options.noskips: |
|
2044 | if not self._runner.options.noskips: | |
2045 | for test, msg in result.skipped: |
|
2045 | for test, msg in result.skipped: | |
2046 | formatted = 'Skipped %s: %s' % (test.name, msg) |
|
2046 | formatted = 'Skipped %s: %s\n' % (test.name, msg) | |
2047 | if result.color: |
|
2047 | if result.color: | |
2048 | formatted = pygments.highlight( |
|
2048 | formatted = pygments.highlight( | |
2049 | formatted, |
|
2049 | formatted, | |
2050 | runnerlexer, |
|
2050 | runnerlexer, | |
2051 |
runnerformatter) |
|
2051 | runnerformatter) | |
2052 |
self.stream.write |
|
2052 | self.stream.write(formatted) | |
2053 | for test, msg in result.failures: |
|
2053 | for test, msg in result.failures: | |
2054 | formatted = 'Failed %s: %s' % (test.name, msg) |
|
2054 | formatted = 'Failed %s: %s\n' % (test.name, msg) | |
2055 | if result.color: |
|
2055 | if result.color: | |
2056 | formatted = pygments.highlight( |
|
2056 | formatted = pygments.highlight( | |
2057 | formatted, |
|
2057 | formatted, | |
2058 | runnerlexer, |
|
2058 | runnerlexer, | |
2059 |
runnerformatter) |
|
2059 | runnerformatter) | |
2060 |
self.stream.write |
|
2060 | self.stream.write(formatted) | |
2061 | for test, msg in result.errors: |
|
2061 | for test, msg in result.errors: | |
2062 | self.stream.writeln('Errored %s: %s' % (test.name, msg)) |
|
2062 | self.stream.writeln('Errored %s: %s' % (test.name, msg)) | |
2063 |
|
2063 |
General Comments 0
You need to be logged in to leave comments.
Login now