From patchwork Tue Jul 18 16:58:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D116: run-tests: drop unnecessary check for pygmentspresent From: phabricator X-Patchwork-Id: 22499 Message-Id: To: mercurial-devel@mercurial-scm.org Date: Tue, 18 Jul 2017 16:58:30 +0000 martinvonz updated this revision to Diff 258. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D116?vs=253&id=258 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 Cc: mercurial-devel 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(),