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
--- 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(),