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

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

Comments

phabricator - July 10, 2018, 1:07 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGfa6edc6a02a9: run-tests: fix a too long line (authored by lothiraldan, committed by ).

REPOSITORY
  rHG Mercurial

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

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))