Mercurial > hg
comparison tests/test-xdg.t @ 33561:2893face0af5
run-tests: check if stream is a tty before using color
Previous implementation (e80041832eec) checked only if sys.stderr was a tty
which was less general. Also makes sure that colors is never used if pygments is
not available, irrespective of --color flag value.
author | Matthieu Laneuville <matthieu.laneuville@octobus.net> |
---|---|
date | Tue, 18 Jul 2017 07:19:26 +0900 |
parents | 7d8da7b54dc0 |
children | a4b3b8dee0a8 |
comparison
equal
deleted
inserted
replaced
33560:d4df141f90d1 | 33561:2893face0af5 |
---|