# HG changeset patch # User Martin von Zweigbergk # Date 1500334122 25200 # Node ID 97070cbf081380b396f542ec4d87641f990d92d8 # Parent 0982d900dccb4db3c8269c811931536eba0cb24d 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 diff -r 0982d900dccb -r 97070cbf0813 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(),