run-tests: drop unnecessary check for pygmentspresent
authorMartin von Zweigbergk <martinvonz@google.com>
Mon, 17 Jul 2017 16:28:42 -0700
changeset 33566 97070cbf0813
parent 33565 0982d900dccb
child 33567 d9677e2ed16a
run-tests: drop unnecessary check for pygmentspresent 2893face0af5 (run-tests: check if stream is a tty before using color, 2017-07-18) made the check redundant but forgot to remove it. Differential Revision: https://phab.mercurial-scm.org/D116
tests/run-tests.py
--- a/tests/run-tests.py	Mon Jul 17 16:15:15 2017 -0700
+++ b/tests/run-tests.py	Mon Jul 17 16:28:42 2017 -0700
@@ -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(),