Closed
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement
Description
Feature or enhancement
In Python 3.13 we added colour output to the new REPL, tracebacks and doctest, and in 3.14 to unittest, that can also be controlled with the PYTHON_COLORS, NO_COLOR and FORCE_COLOR environment variables:
- https://docs.python.org/3.14/whatsnew/3.14.html#unittest
- https://docs.python.org/3.14/using/cmdline.html#using-on-controlling-color
Let's add colour to test.regrtest output.
Linked PRs
Reacted by RUANG (James Roy)
Reacted by Alex Waygood, Peter Bierma and Cody Maloney
Metadata
Metadata
Assignees
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement
Activity
JainamDosi commentedon Dec 10, 2024
hugovk commentedon Dec 10, 2024
gh-127718: Add colour to `test.regrtest` output (#127719)
pythongh-127718: Add colour to `test.regrtest` output (python#127719)