view tests/test-ui-color.py.out @ 45096:e9e452eafbfb

tests: add tests for when stdout or stderr is connected to `os.devnull` The original motivation was that creating PTYs on Windows is not possible, but `NUL` is recognized as a TTY, so we can have at least some test coverage for the TTY case. I think it doesn’t hurt to run the test cases on all systems.
author Manuel Jacob <me@manueljacob.de>
date Thu, 09 Jul 2020 12:52:42 +0200
parents b8c2004a8d2b
children
line wrap: on
line source

warning
error
b'buffered\n'
colored? True
colored? True