[3.13] gh-140082: Forward colorizing from libregrtest to unittest (GH-140083) (#140755)
gh-140082: Forward colorizing from libregrtest to unittest (GH-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. (cherry picked from commit 6ff62ac4fbc3f17529823c146cc3a3f8c21eed42) Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com> Co-authored-by: Victor Stinner <vstinner@python.org>
M
Miss Islington (bot) committed
62a3b6b0d99e05898ce73df511c41411dc2ef865
Parent: b3649a7
Committed by GitHub <noreply@github.com>
on 10/29/2025, 12:55:54 PM