Patchwork D3900: run-tests: fix a too long line

login
register
mail settings
Submitter phabricator
Date July 10, 2018, 1:12 p.m.
Message ID <660ed08896ddec823d50b733693a16b7@localhost.localdomain>
Download mbox | patch
Permalink /patch/32739/
State Not Applicable
Headers show

Comments

phabricator - July 10, 2018, 1:12 p.m.
lothiraldan updated this revision to Diff 9499.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3900?vs=9496&id=9499

REVISION DETAIL
  https://phab.mercurial-scm.org/D3900

AFFECTED FILES
  tests/run-tests.py

CHANGE DETAILS




To: lothiraldan, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -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))