René's URL Explorer Experiment


Title: gh-127221: Add colour to unittest output by hugovk · Pull Request #127223 · python/cpython · GitHub

Open Graph Title: gh-127221: Add colour to unittest output by hugovk · Pull Request #127223 · python/cpython

X Title: gh-127221: Add colour to unittest output by hugovk · Pull Request #127223 · python/cpython

Description: Use the existing _colorize module already used for tracebacks and doctest so output can be controlled with the PYTHON_COLORS, NO_COLOR and FORCE_COLOR environment variables. This PR does a couple of things to add colour: Enable colour for tracebacks by passing in colorize to msgLines = list(tb_e.format(colorize=can_colorize())) Add colour for pass/fail/errors, using pytest as a guide Plus some unrelated tidy-up (use more specific test methods, new-style objects, underscore variables) Tested with some small demo scripts: No tests ran run-unittests-none.py import unittest if __name__ == "__main__": unittest.main() Before After pytest Passed run-unittests-pass.py Mode Before After pytest Regular Verbose Failing run-unittests.py import unittest class TestThings(unittest.TestCase): def test_pass(self): self.assertTrue(True) def test_fail(self): self.assertTrue(False) def test_error(self): raise Exception("Manually raised exception") def test_pass2(self): self.assertEqual(1, 1) @unittest.skip("demonstrating skipping") def test_skip(self): self.fail("shouldn't happen") class ExpectedFailureTestCase(unittest.TestCase): @unittest.expectedFailure def test_fail(self): self.assertEqual(1, 0, "broken") @unittest.expectedFailure def test_pass(self): self.assertEqual(1, 1, "not broken") if __name__ == "__main__": unittest.main() Mode Before After pytest Regular Verbose Subtests run-unittests-subtests.py import unittest class DoSubTest(unittest.TestCase): def test_subtest(self): """Test with subtest""" for i in range(0, 4): with self.subTest(i=i): if i == 2: raise Exception("Manually raised exception") self.assertEqual(i % 2, 0) if __name__ == "__main__": unittest.main() Mode Before After pytest Regular Verbose 📚 Documentation preview 📚: https://cpython-previews--127223.org.readthedocs.build/ Issue: gh-127221

Open Graph Description: Use the existing _colorize module already used for tracebacks and doctest so output can be controlled with the PYTHON_COLORS, NO_COLOR and FORCE_COLOR environment variables. This PR does a couple o...

X Description: Use the existing _colorize module already used for tracebacks and doctest so output can be controlled with the PYTHON_COLORS, NO_COLOR and FORCE_COLOR environment variables. This PR does a couple o...

Opengraph URL: https://github.com/python/cpython/pull/127223

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:3504308b-73d6-a8c9-9f4a-452981cf7d85
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA810:1E3EC6:41DB90:5A197D:6A51460E
html-safe-nonce1258e01913feec5fad05327122736206615631bd7cef6a09e19053858a9803c1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODEwOjFFM0VDNjo0MURCOTA6NUExOTdEOjZBNTE0NjBFIiwidmlzaXRvcl9pZCI6IjQ4OTYyMjExNDM5NDAyODU5NjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac206dfafa48a496a279aac79d1372b0bfbe9fa823739139efa25a23ad2a5c6ba3
hovercard-subject-tagpull_request:2196784972
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/127223/files
twitter:imagehttps://avatars.githubusercontent.com/u/1324225?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1324225?s=400&v=4
og:image:altUse the existing _colorize module already used for tracebacks and doctest so output can be controlled with the PYTHON_COLORS, NO_COLOR and FORCE_COLOR environment variables. This PR does a couple o...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonee840f405b2718e8f2d55aafa9ff27dbce17e29d0c253011d05ea0fea3c78baff
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb78565f6aa43cc5323c9935ec11b22cca7bb0a62
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/127223/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F127223%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F127223%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/127223/files
Reloadhttps://github.com/python/cpython/pull/127223/files
Reloadhttps://github.com/python/cpython/pull/127223/files
Please reload this pagehttps://github.com/python/cpython/pull/127223/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/127223/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.7k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
hugovkhttps://github.com/hugovk
python:mainhttps://github.com/python/cpython/tree/main
hugovk:3.14-unittest-colourhttps://github.com/hugovk/cpython/tree/3.14-unittest-colour
Conversation 25 https://github.com/python/cpython/pull/127223
Commits 7 https://github.com/python/cpython/pull/127223/commits
Checks 0 https://github.com/python/cpython/pull/127223/checks
Files changed https://github.com/python/cpython/pull/127223/files
Please reload this pagehttps://github.com/python/cpython/pull/127223/files
gh-127221: Add colour to unittest output https://github.com/python/cpython/pull/127223/files#top
Show all changes 7 commits https://github.com/python/cpython/pull/127223/files
8cd1932 Add colour to unittest output hugovk Nov 24, 2024 https://github.com/python/cpython/pull/127223/commits/8cd19329613faa2a7b4c33170a48c5c3c9224124
2744218 Refactor repeated RST into epilog hugovk Nov 24, 2024 https://github.com/python/cpython/pull/127223/commits/27442180a383a1290eba0c46cf4abe3946de25c1
d01272f Refactor: use underscores, add missing spaces hugovk Nov 24, 2024 https://github.com/python/cpython/pull/127223/commits/d01272fc57092aa6fd9941ac19b1c797f693bcf6
06f1318 Don't colour the separators hugovk Nov 24, 2024 https://github.com/python/cpython/pull/127223/commits/06f131886a042ffe3ab978e3135fdcdc52202288
5a1de7c Mention colour control in docs hugovk Nov 24, 2024 https://github.com/python/cpython/pull/127223/commits/5a1de7cbf9bde44e74534fb92b8444b9d95c6783
d2b0e29 Mention colour control in docs for doctest, traceback and unittest hugovk Nov 24, 2024 https://github.com/python/cpython/pull/127223/commits/d2b0e29642fd7d4a0b486905ab0a78b98bb9d638
7226b77 Link to unittest module hugovk Nov 24, 2024 https://github.com/python/cpython/pull/127223/commits/7226b7716d3865250fb88575f880aafc7704fc68
Clear filters https://github.com/python/cpython/pull/127223/files
Please reload this pagehttps://github.com/python/cpython/pull/127223/files
Please reload this pagehttps://github.com/python/cpython/pull/127223/files
conf.py https://github.com/python/cpython/pull/127223/files#diff-bd848f922db8b27516214e75f544d03f48a19eeebfe2509341a7c18e0a115c8c
doctest.rst https://github.com/python/cpython/pull/127223/files#diff-035fbece7e3400413ea9a79196a2e96e0d6c9b5ed92ab8f5285c0600f7d325ca
traceback.rst https://github.com/python/cpython/pull/127223/files#diff-a9dfe7dd797d4b6f0c0fd21182d70a180a287f8ee6f43a08ef7ecc29f809b13e
unittest.rst https://github.com/python/cpython/pull/127223/files#diff-14c3c1d897d1e85767303f24626acaa6d1ea1162219c72caa240ef9f533ebe99
cmdline.rst https://github.com/python/cpython/pull/127223/files#diff-5f4de3bbf22aa3cc7412333ded7d7729ae0ac23703551daecac350869768b4ef
3.13.rst https://github.com/python/cpython/pull/127223/files#diff-0eef04c1aae0cf8389945464f271ff6789259ef8985f5fdbb21c9a99c4b5021f
3.14.rst https://github.com/python/cpython/pull/127223/files#diff-24e6cbe61d91e61059c44a7cf5f712499a11eb47a82d5f1a8db16ec7f9023c31
test_async_case.py https://github.com/python/cpython/pull/127223/files#diff-3f8232366dd3dde518dbb7edbc65ec62a516dcf7ff6ba040f837e514d65e2dbb
test_program.py https://github.com/python/cpython/pull/127223/files#diff-51bb955808b4fd7cdfc300b124339375d50475c55013108e741902e2935687f3
test_result.py https://github.com/python/cpython/pull/127223/files#diff-88f64c4920edc1213d9661f7eb522213b56624e8906353add3647fe1890f5ada
test_runner.py https://github.com/python/cpython/pull/127223/files#diff-085ab71730e438937a5559aaea58cd1f06adfc941755bc081eab632f6b76dad4
test_skipping.py https://github.com/python/cpython/pull/127223/files#diff-aa997d2f7ef620526376fd67044900417c8e0e66261976e95675187f77b0421e
result.py https://github.com/python/cpython/pull/127223/files#diff-ba8a6f32f39f6047ea998da6ddc7356a30eff06dd2b84d19f9a285c3162d2a93
runner.py https://github.com/python/cpython/pull/127223/files#diff-8fce5e301fa724e355a39315e2b1205ce4bbc5b5f193bd530654863d7d8b6a78
2024-11-23-00-17-29.gh-issue-127221.OSXdFE.rst https://github.com/python/cpython/pull/127223/files#diff-d50d97b685768732b747700a4fe9507fd92fe4cabfe56170861b323ba8cb279f
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L105
Doc/conf.pyhttps://github.com/python/cpython/pull/127223/files#diff-bd848f922db8b27516214e75f544d03f48a19eeebfe2509341a7c18e0a115c8c
View file https://github.com/hugovk/cpython/blob/7226b7716d3865250fb88575f880aafc7704fc68/Doc/conf.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/127223/{{ revealButtonHref }}
https://github.com/python/cpython/pull/127223/files#diff-bd848f922db8b27516214e75f544d03f48a19eeebfe2509341a7c18e0a115c8c
https://github.com/python/cpython/pull/127223/files#diff-bd848f922db8b27516214e75f544d03f48a19eeebfe2509341a7c18e0a115c8c
Doc/library/doctest.rsthttps://github.com/python/cpython/pull/127223/files#diff-035fbece7e3400413ea9a79196a2e96e0d6c9b5ed92ab8f5285c0600f7d325ca
View file https://github.com/hugovk/cpython/blob/7226b7716d3865250fb88575f880aafc7704fc68/Doc/library/doctest.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/127223/{{ revealButtonHref }}
https://github.com/python/cpython/pull/127223/files#diff-035fbece7e3400413ea9a79196a2e96e0d6c9b5ed92ab8f5285c0600f7d325ca
https://github.com/python/cpython/pull/127223/files#diff-035fbece7e3400413ea9a79196a2e96e0d6c9b5ed92ab8f5285c0600f7d325ca
Doc/library/traceback.rsthttps://github.com/python/cpython/pull/127223/files#diff-a9dfe7dd797d4b6f0c0fd21182d70a180a287f8ee6f43a08ef7ecc29f809b13e
View file https://github.com/hugovk/cpython/blob/7226b7716d3865250fb88575f880aafc7704fc68/Doc/library/traceback.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/127223/{{ revealButtonHref }}
https://github.com/python/cpython/pull/127223/files#diff-a9dfe7dd797d4b6f0c0fd21182d70a180a287f8ee6f43a08ef7ecc29f809b13e
https://github.com/python/cpython/pull/127223/files#diff-a9dfe7dd797d4b6f0c0fd21182d70a180a287f8ee6f43a08ef7ecc29f809b13e
Doc/library/unittest.rsthttps://github.com/python/cpython/pull/127223/files#diff-14c3c1d897d1e85767303f24626acaa6d1ea1162219c72caa240ef9f533ebe99
View file https://github.com/hugovk/cpython/blob/7226b7716d3865250fb88575f880aafc7704fc68/Doc/library/unittest.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/127223/{{ revealButtonHref }}
https://github.com/python/cpython/pull/127223/files#diff-14c3c1d897d1e85767303f24626acaa6d1ea1162219c72caa240ef9f533ebe99
https://github.com/python/cpython/pull/127223/files#diff-14c3c1d897d1e85767303f24626acaa6d1ea1162219c72caa240ef9f533ebe99
https://github.com/python/cpython/pull/127223/files#diff-14c3c1d897d1e85767303f24626acaa6d1ea1162219c72caa240ef9f533ebe99
https://github.com/python/cpython/pull/127223/files#diff-14c3c1d897d1e85767303f24626acaa6d1ea1162219c72caa240ef9f533ebe99
Doc/using/cmdline.rsthttps://github.com/python/cpython/pull/127223/files#diff-5f4de3bbf22aa3cc7412333ded7d7729ae0ac23703551daecac350869768b4ef
View file https://github.com/hugovk/cpython/blob/7226b7716d3865250fb88575f880aafc7704fc68/Doc/using/cmdline.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/127223/{{ revealButtonHref }}
https://github.com/python/cpython/pull/127223/files#diff-5f4de3bbf22aa3cc7412333ded7d7729ae0ac23703551daecac350869768b4ef
https://github.com/python/cpython/pull/127223/files#diff-5f4de3bbf22aa3cc7412333ded7d7729ae0ac23703551daecac350869768b4ef
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L116
Doc/whatsnew/3.13.rsthttps://github.com/python/cpython/pull/127223/files#diff-0eef04c1aae0cf8389945464f271ff6789259ef8985f5fdbb21c9a99c4b5021f
View file https://github.com/hugovk/cpython/blob/7226b7716d3865250fb88575f880aafc7704fc68/Doc/whatsnew/3.13.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/127223/{{ revealButtonHref }}
https://github.com/python/cpython/pull/127223/files#diff-0eef04c1aae0cf8389945464f271ff6789259ef8985f5fdbb21c9a99c4b5021f
https://github.com/python/cpython/pull/127223/files#diff-0eef04c1aae0cf8389945464f271ff6789259ef8985f5fdbb21c9a99c4b5021f
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L116
Doc/whatsnew/3.14.rsthttps://github.com/python/cpython/pull/127223/files#diff-24e6cbe61d91e61059c44a7cf5f712499a11eb47a82d5f1a8db16ec7f9023c31
View file https://github.com/hugovk/cpython/blob/7226b7716d3865250fb88575f880aafc7704fc68/Doc/whatsnew/3.14.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/127223/{{ revealButtonHref }}
https://github.com/python/cpython/pull/127223/files#diff-24e6cbe61d91e61059c44a7cf5f712499a11eb47a82d5f1a8db16ec7f9023c31
https://github.com/python/cpython/pull/127223/files#diff-24e6cbe61d91e61059c44a7cf5f712499a11eb47a82d5f1a8db16ec7f9023c31
Lib/test/test_unittest/test_async_case.pyhttps://github.com/python/cpython/pull/127223/files#diff-3f8232366dd3dde518dbb7edbc65ec62a516dcf7ff6ba040f837e514d65e2dbb
View file https://github.com/hugovk/cpython/blob/7226b7716d3865250fb88575f880aafc7704fc68/Lib/test/test_unittest/test_async_case.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/127223/{{ revealButtonHref }}
https://github.com/python/cpython/pull/127223/files#diff-3f8232366dd3dde518dbb7edbc65ec62a516dcf7ff6ba040f837e514d65e2dbb
https://github.com/python/cpython/pull/127223/files#diff-3f8232366dd3dde518dbb7edbc65ec62a516dcf7ff6ba040f837e514d65e2dbb
https://github.com/python/cpython/pull/127223/files#diff-3f8232366dd3dde518dbb7edbc65ec62a516dcf7ff6ba040f837e514d65e2dbb
https://github.com/python/cpython/pull/127223/files#diff-3f8232366dd3dde518dbb7edbc65ec62a516dcf7ff6ba040f837e514d65e2dbb
Lib/test/test_unittest/test_program.pyhttps://github.com/python/cpython/pull/127223/files#diff-51bb955808b4fd7cdfc300b124339375d50475c55013108e741902e2935687f3
View file https://github.com/hugovk/cpython/blob/7226b7716d3865250fb88575f880aafc7704fc68/Lib/test/test_unittest/test_program.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/127223/{{ revealButtonHref }}
https://github.com/python/cpython/pull/127223/files#diff-51bb955808b4fd7cdfc300b124339375d50475c55013108e741902e2935687f3
https://github.com/python/cpython/pull/127223/files#diff-51bb955808b4fd7cdfc300b124339375d50475c55013108e741902e2935687f3
https://github.com/python/cpython/pull/127223/files#diff-51bb955808b4fd7cdfc300b124339375d50475c55013108e741902e2935687f3
https://github.com/python/cpython/pull/127223/files#diff-51bb955808b4fd7cdfc300b124339375d50475c55013108e741902e2935687f3
https://github.com/python/cpython/pull/127223/files#diff-51bb955808b4fd7cdfc300b124339375d50475c55013108e741902e2935687f3
https://github.com/python/cpython/pull/127223/files#diff-51bb955808b4fd7cdfc300b124339375d50475c55013108e741902e2935687f3
https://github.com/python/cpython/pull/127223/files#diff-51bb955808b4fd7cdfc300b124339375d50475c55013108e741902e2935687f3
https://github.com/python/cpython/pull/127223/files#diff-51bb955808b4fd7cdfc300b124339375d50475c55013108e741902e2935687f3
Lib/test/test_unittest/test_result.pyhttps://github.com/python/cpython/pull/127223/files#diff-88f64c4920edc1213d9661f7eb522213b56624e8906353add3647fe1890f5ada
View file https://github.com/hugovk/cpython/blob/7226b7716d3865250fb88575f880aafc7704fc68/Lib/test/test_unittest/test_result.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/127223/{{ revealButtonHref }}
https://github.com/python/cpython/pull/127223/files#diff-88f64c4920edc1213d9661f7eb522213b56624e8906353add3647fe1890f5ada
https://github.com/python/cpython/pull/127223/files#diff-88f64c4920edc1213d9661f7eb522213b56624e8906353add3647fe1890f5ada
https://github.com/python/cpython/pull/127223/files#diff-88f64c4920edc1213d9661f7eb522213b56624e8906353add3647fe1890f5ada
https://github.com/python/cpython/pull/127223/files#diff-88f64c4920edc1213d9661f7eb522213b56624e8906353add3647fe1890f5ada
https://github.com/python/cpython/pull/127223/files#diff-88f64c4920edc1213d9661f7eb522213b56624e8906353add3647fe1890f5ada
https://github.com/python/cpython/pull/127223/files#diff-88f64c4920edc1213d9661f7eb522213b56624e8906353add3647fe1890f5ada
https://github.com/python/cpython/pull/127223/files#diff-88f64c4920edc1213d9661f7eb522213b56624e8906353add3647fe1890f5ada
https://github.com/python/cpython/pull/127223/files#diff-88f64c4920edc1213d9661f7eb522213b56624e8906353add3647fe1890f5ada
https://github.com/python/cpython/pull/127223/files#diff-88f64c4920edc1213d9661f7eb522213b56624e8906353add3647fe1890f5ada
https://github.com/python/cpython/pull/127223/files#diff-88f64c4920edc1213d9661f7eb522213b56624e8906353add3647fe1890f5ada
https://github.com/python/cpython/pull/127223/files#diff-88f64c4920edc1213d9661f7eb522213b56624e8906353add3647fe1890f5ada
https://github.com/python/cpython/pull/127223/files#diff-88f64c4920edc1213d9661f7eb522213b56624e8906353add3647fe1890f5ada
https://github.com/python/cpython/pull/127223/files#diff-88f64c4920edc1213d9661f7eb522213b56624e8906353add3647fe1890f5ada
https://github.com/python/cpython/pull/127223/files#diff-88f64c4920edc1213d9661f7eb522213b56624e8906353add3647fe1890f5ada
https://github.com/python/cpython/pull/127223/files#diff-88f64c4920edc1213d9661f7eb522213b56624e8906353add3647fe1890f5ada
https://github.com/python/cpython/pull/127223/files#diff-88f64c4920edc1213d9661f7eb522213b56624e8906353add3647fe1890f5ada
Lib/test/test_unittest/test_runner.pyhttps://github.com/python/cpython/pull/127223/files#diff-085ab71730e438937a5559aaea58cd1f06adfc941755bc081eab632f6b76dad4
View file https://github.com/hugovk/cpython/blob/7226b7716d3865250fb88575f880aafc7704fc68/Lib/test/test_unittest/test_runner.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/127223/{{ revealButtonHref }}
https://github.com/python/cpython/pull/127223/files#diff-085ab71730e438937a5559aaea58cd1f06adfc941755bc081eab632f6b76dad4
https://github.com/python/cpython/pull/127223/files#diff-085ab71730e438937a5559aaea58cd1f06adfc941755bc081eab632f6b76dad4
https://github.com/python/cpython/pull/127223/files#diff-085ab71730e438937a5559aaea58cd1f06adfc941755bc081eab632f6b76dad4
AlexWaygoodhttps://github.com/AlexWaygood
Nov 24, 2024https://github.com/python/cpython/pull/127223/files#r1855488753
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/127223/files
https://github.com/python/cpython/pull/127223/files#diff-085ab71730e438937a5559aaea58cd1f06adfc941755bc081eab632f6b76dad4
https://github.com/python/cpython/pull/127223/files#diff-085ab71730e438937a5559aaea58cd1f06adfc941755bc081eab632f6b76dad4
https://github.com/python/cpython/pull/127223/files#diff-085ab71730e438937a5559aaea58cd1f06adfc941755bc081eab632f6b76dad4
https://github.com/python/cpython/pull/127223/files#diff-085ab71730e438937a5559aaea58cd1f06adfc941755bc081eab632f6b76dad4
https://github.com/python/cpython/pull/127223/files#diff-085ab71730e438937a5559aaea58cd1f06adfc941755bc081eab632f6b76dad4
https://github.com/python/cpython/pull/127223/files#diff-085ab71730e438937a5559aaea58cd1f06adfc941755bc081eab632f6b76dad4
https://github.com/python/cpython/pull/127223/files#diff-085ab71730e438937a5559aaea58cd1f06adfc941755bc081eab632f6b76dad4
https://github.com/python/cpython/pull/127223/files#diff-085ab71730e438937a5559aaea58cd1f06adfc941755bc081eab632f6b76dad4
https://github.com/python/cpython/pull/127223/files#diff-085ab71730e438937a5559aaea58cd1f06adfc941755bc081eab632f6b76dad4
https://github.com/python/cpython/pull/127223/files#diff-085ab71730e438937a5559aaea58cd1f06adfc941755bc081eab632f6b76dad4
https://github.com/python/cpython/pull/127223/files#diff-085ab71730e438937a5559aaea58cd1f06adfc941755bc081eab632f6b76dad4
https://github.com/python/cpython/pull/127223/files#diff-085ab71730e438937a5559aaea58cd1f06adfc941755bc081eab632f6b76dad4
https://github.com/python/cpython/pull/127223/files#diff-085ab71730e438937a5559aaea58cd1f06adfc941755bc081eab632f6b76dad4
https://github.com/python/cpython/pull/127223/files#diff-085ab71730e438937a5559aaea58cd1f06adfc941755bc081eab632f6b76dad4
https://github.com/python/cpython/pull/127223/files#diff-085ab71730e438937a5559aaea58cd1f06adfc941755bc081eab632f6b76dad4
https://github.com/python/cpython/pull/127223/files#diff-085ab71730e438937a5559aaea58cd1f06adfc941755bc081eab632f6b76dad4
https://github.com/python/cpython/pull/127223/files#diff-085ab71730e438937a5559aaea58cd1f06adfc941755bc081eab632f6b76dad4
https://github.com/python/cpython/pull/127223/files#diff-085ab71730e438937a5559aaea58cd1f06adfc941755bc081eab632f6b76dad4
https://github.com/python/cpython/pull/127223/files#diff-085ab71730e438937a5559aaea58cd1f06adfc941755bc081eab632f6b76dad4
https://github.com/python/cpython/pull/127223/files#diff-085ab71730e438937a5559aaea58cd1f06adfc941755bc081eab632f6b76dad4
https://github.com/python/cpython/pull/127223/files#diff-085ab71730e438937a5559aaea58cd1f06adfc941755bc081eab632f6b76dad4
Please reload this pagehttps://github.com/python/cpython/pull/127223/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.