]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-128377: Skip `test_cmd_line.test_non_interactive_output_buffering` when `PYTHONUNB...
authorYan Yanchii <yyanchiy@gmail.com>
Sun, 12 Jan 2025 08:27:28 +0000 (09:27 +0100)
committerGitHub <noreply@github.com>
Sun, 12 Jan 2025 08:27:28 +0000 (09:27 +0100)
commit30268b5d2fbb1a5e6c876f0cdc4cbdb5d93315e6
treecdc78190b6d6eb5afa282f9200e6d352102b685e
parent22a442181d5f1ac496dac08e24fd852de404882f
gh-128377: Skip `test_cmd_line.test_non_interactive_output_buffering` when `PYTHONUNBUFFERED=1` (#128378)

The `test_cmd_line.test_non_interactive_output_buffering` test assumes a buffered `stdio`
without checking the `PYTHONUNBUFFERED` value. Instead of changing the environment
variable for the duration of the test, it is better to simply skip it.
Lib/test/test_cmd_line.py