Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cli: Fix TTY test failing on Python 3.14
Since I don't have Python 3.14 on my system (yet), here are the steps I used to reproduce: sudo dnf install python3.14 python3.14 -m venv /tmp/py3.14 source /tmp/py3.14/bin/activate pip install yaml pathspec python3.14 -m unittest discover # or python3.14 -m unittest tests.test_cli.CommandLineTestCase.test_run_default_format_output_in_tty This commit fixes that by piping *only* `sys.stdout`, not `sys.stderr` too. I'm not sure why I wrote this code in 2016 (see commit a2c68fd), but the new one makes more sense to me now. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2336947
- Loading branch information