Patchwork D116: run-tests: drop unnecessary check for pygmentspresent

login
register
mail settings
Submitter phabricator
Date July 18, 2017, 4:58 p.m.
Message ID <a7f81ac46c8a90547de884d0f1ea5582@localhost.localdomain>
Download mbox | patch
Permalink /patch/22499/
State Not Applicable, archived
Headers show

Comments

phabricator - July 18, 2017, 4:58 p.m.
martinvonz updated this revision to Diff 258.

REPOSITORY
  rHG Mercurial

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

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

AFFECTED FILES
  tests/run-tests.py

CHANGE DETAILS




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

To: martinvonz, #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
@@ -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(),