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

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

Comments

phabricator - July 18, 2017, 7:27 p.m.
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




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

To: martinvonz, #hg-reviewers, krbullock
Cc: krbullock, 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(),