mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
[3.13] gh-130293: Ensure test__colorize will pass on dumb terminals. (GH-130333) (#130334)
Ensure colorize tests will run on dumb terminals (or environment with TERM=dumb set)
(cherry picked from commit 1b070060c0
)
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
This commit is contained in:
parent
46237d19d9
commit
439cba75d9
3 changed files with 4 additions and 2 deletions
|
@ -28,7 +28,7 @@
|
|||
// Xcode log can't display color. Stdout will report that it is *not* a
|
||||
// TTY.
|
||||
setenv("NO_COLOR", "1", true);
|
||||
setenv("PY_COLORS", "0", true);
|
||||
setenv("PYTHON_COLORS", "0", true);
|
||||
|
||||
// Arguments to pass into the test suite runner.
|
||||
// argv[0] must identify the process; any subsequent arg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue