Mercurial > hg
comparison tests/run-tests.py @ 38622:fa6edc6a02a9
run-tests: fix a too long line
Differential Revision: https://phab.mercurial-scm.org/D3900
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Tue, 10 Jul 2018 08:31:33 +0200 |
parents | 875e033fbbdd |
children | a9a4b0fc1e5d |
comparison
equal
deleted
inserted
replaced
38621:f4a214300957 | 38622:fa6edc6a02a9 |
---|---|
2142 self.stream.writeln('') | 2142 self.stream.writeln('') |
2143 | 2143 |
2144 if not self._runner.options.noskips: | 2144 if not self._runner.options.noskips: |
2145 for test, msg in self._result.skipped: | 2145 for test, msg in self._result.skipped: |
2146 formatted = 'Skipped %s: %s\n' % (test.name, msg) | 2146 formatted = 'Skipped %s: %s\n' % (test.name, msg) |
2147 self.stream.write(highlightmsg(formatted, self._result.color)) | 2147 msg = highlightmsg(formatted, self._result.color) |
2148 self.stream.write(msg) | |
2148 for test, msg in self._result.failures: | 2149 for test, msg in self._result.failures: |
2149 formatted = 'Failed %s: %s\n' % (test.name, msg) | 2150 formatted = 'Failed %s: %s\n' % (test.name, msg) |
2150 self.stream.write(highlightmsg(formatted, self._result.color)) | 2151 self.stream.write(highlightmsg(formatted, self._result.color)) |
2151 for test, msg in self._result.errors: | 2152 for test, msg in self._result.errors: |
2152 self.stream.writeln('Errored %s: %s' % (test.name, msg)) | 2153 self.stream.writeln('Errored %s: %s' % (test.name, msg)) |