Title: Add colour to unittest output · Issue #127221 · python/cpython · GitHub
Open Graph Title: Add colour to unittest output · Issue #127221 · python/cpython
X Title: Add colour to unittest output · Issue #127221 · python/cpython
Description: Feature or enhancement In Python 3.13, we added colour output to the new REPL, tracebacks and doctest, that can also be controlled with the PYTHON_COLORS, NO_COLOR and FORCE_COLOR environment variables: https://docs.python.org/3/whatsnew...
Open Graph Description: Feature or enhancement In Python 3.13, we added colour output to the new REPL, tracebacks and doctest, that can also be controlled with the PYTHON_COLORS, NO_COLOR and FORCE_COLOR environment varia...
X Description: Feature or enhancement In Python 3.13, we added colour output to the new REPL, tracebacks and doctest, that can also be controlled with the PYTHON_COLORS, NO_COLOR and FORCE_COLOR environment varia...
Opengraph URL: https://github.com/python/cpython/issues/127221
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add colour to unittest output","articleBody":"# Feature or enhancement\n\nIn Python 3.13, we added colour output to the new REPL, tracebacks and doctest, that can also be controlled with the `PYTHON_COLORS`, `NO_COLOR` and `FORCE_COLOR` environment variables:\n\n* https://docs.python.org/3/whatsnew/3.13.html#summary-release-highlights\n* https://docs.python.org/3.13/using/cmdline.html#using-on-controlling-color\n\nLet's add colour to unittest output.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-127223\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/hugovk","@type":"Person","name":"hugovk"},"datePublished":"2024-11-24T12:12:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/127221/cpython/issues/127221"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:46f0eca1-33f4-8698-f055-2a8e03f29aa3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C35A:1880B3:217B29D:2FAEA06:6A50E730 |
| html-safe-nonce | b91c90d4bb31d43cdf21f85b1fdfba8e38746b7ecf83e1dee9a46a07a2e93309 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzVBOjE4ODBCMzoyMTdCMjlEOjJGQUVBMDY6NkE1MEU3MzAiLCJ2aXNpdG9yX2lkIjoiNDUzMzY2OTQxMjQ1MzAxNzM5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3c2701096ef44c8961d1fe63d3ac6522cc845de0e259d6f297840fccedc9fcc4 |
| hovercard-subject-tag | issue:2687656091 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/127221/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7070de4f3a88ca993b6fb04b49150e0eaed7a1911af312be934f721ca31ad34f/python/cpython/issues/127221 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7070de4f3a88ca993b6fb04b49150e0eaed7a1911af312be934f721ca31ad34f/python/cpython/issues/127221 |
| og:image:alt | Feature or enhancement In Python 3.13, we added colour output to the new REPL, tracebacks and doctest, that can also be controlled with the PYTHON_COLORS, NO_COLOR and FORCE_COLOR environment varia... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hugovk |
| hostname | github.com |
| expected-hostname | github.com |
| None | 72b13e0e8d0319acdd27a145cfe73f4f06c791713d0ac4690e41fb68ad28cac0 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | fb19d617b534959801b4b7453938ecf1dfa22131 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width