run-tests: fix a too long line
Differential Revision: https://phab.mercurial-scm.org/D3900
--- 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))