cpython/Lib/test/libregrtest
Cody Maloney 6ff62ac4fb
gh-140082: Forward colorizing from libregrtest to unittest (#140083)
libregrtest redirects test output to a file as part of its operation.
When `unittest` checks to see if it should colorize with
`isatty(sys.stdout)` that fails resulting in no colorizing of the
unittest output.

Update `libregrtest` to set `FORCE_COLOR=1` when redirecting test output
so that unittest will do color printing.

Co-authored-by: Victor Stinner <vstinner@python.org>
2025-10-29 13:33:44 +01:00
..
__init__.py
cmdline.py gh-139208: Fix regrtest --fast-ci --verbose (#139240) 2025-09-23 16:09:01 +02:00
filter.py
findtests.py gh-139322: Create test_os package (#139453) 2025-10-01 16:42:45 +02:00
logger.py
main.py gh-137242: Allow Android testbed to take all Python command-line options (#138805) 2025-10-06 13:19:48 +08:00
mypy.ini gh-109413: Enable mypy's disallow_any_generics setting when checking libregrtest (#127033) 2024-11-19 22:41:59 +03:00
parallel_case.py gh-131152: Remove unused imports from tests (#131153) 2025-03-13 10:55:23 +01:00
pgo.py gh-128690: temporarily do not use test_embed in PGO profile builds (#128771) 2025-01-13 04:02:18 -05:00
refleak.py gh-118803: Make ByteString deprecations louder; remove ByteString from typing.__all__ and collections.abc.__all__ (#139127) 2025-09-18 18:58:16 +00:00
result.py gh-127718: Add colour to test.regrtest output (#127719) 2024-12-10 09:44:15 +02:00
results.py gh-127718: Add colour to test.regrtest output (#127719) 2024-12-10 09:44:15 +02:00
run_workers.py gh-109413: Fix libregrtest get_running() (#127153) 2024-11-22 16:56:03 +01:00
runtests.py gh-127933: Add option to run regression tests in parallel (gh-128003) 2025-02-04 17:44:59 -05:00
save_env.py gh-140482: Preserve and restore stty echo as a test environment (#140519) 2025-10-24 11:07:08 -07:00
setup.py gh-140082: Forward colorizing from libregrtest to unittest (#140083) 2025-10-29 13:33:44 +01:00
single.py gh-135489: Show verbose output for failing tests during PGO profiling step with --enable-optimizations (#135512) 2025-06-17 01:06:48 -04:00
testresult.py
tsan.py gh-117657: enable test_capi under TSAN (#136269) 2025-07-08 13:05:24 +05:30
utils.py gh-137341: Remove more word duplications (GH-137342) 2025-08-03 19:41:12 +03:00
win_utils.py
worker.py gh-140082: Forward colorizing from libregrtest to unittest (#140083) 2025-10-29 13:33:44 +01:00