D116: run-tests: drop unnecessary check for pygmentspresent

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Tue Jul 18 15:27:16 EDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGf934f272b31d: run-tests: drop unnecessary check for pygmentspresent (authored by martinvonz).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D116?vs=258&id=284

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

AFFECTED FILES
  tests/run-tests.py

CHANGE DETAILS

diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -1648,7 +1648,7 @@
                 else:
                     self.stream.write('\n')
                     for line in lines:
-                        if self.color and pygmentspresent:
+                        if self.color:
                             line = pygments.highlight(
                                     line,
                                     lexers.DiffLexer(),



EMAIL PREFERENCES
  https://phab.mercurial-scm.org/settings/panel/emailpreferences/

To: martinvonz, #hg-reviewers, krbullock
Cc: krbullock, mercurial-devel


More information about the Mercurial-devel mailing list