Skip to content
Snippets Groups Projects
Commit 2893face authored by Matthieu Laneuville's avatar Matthieu Laneuville
Browse files

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.
parent d4df141f
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment