Mercurial > hg
changeset 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 | f4a214300957 |
children | 92c845c097aa |
files | tests/run-tests.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/run-tests.py Tue Jul 10 08:25:04 2018 +0200 +++ b/tests/run-tests.py Tue Jul 10 08:31:33 2018 +0200 @@ -2144,7 +2144,8 @@ if not self._runner.options.noskips: for test, msg in self._result.skipped: formatted = 'Skipped %s: %s\n' % (test.name, msg) - self.stream.write(highlightmsg(formatted, self._result.color)) + msg = highlightmsg(formatted, self._result.color) + self.stream.write(msg) for test, msg in self._result.failures: formatted = 'Failed %s: %s\n' % (test.name, msg) self.stream.write(highlightmsg(formatted, self._result.color))