changeset 33566:97070cbf0813

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
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 17 Jul 2017 16:28:42 -0700
parents 0982d900dccb
children d9677e2ed16a
files tests/run-tests.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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(),