René's URL Explorer Experiment


Title: gh-131178: Fix `test_unknown_flag` for platform CLI by donbarbos · Pull Request #137816 · python/cpython · GitHub

Open Graph Title: gh-131178: Fix `test_unknown_flag` for platform CLI by donbarbos · Pull Request #137816 · python/cpython

X Title: gh-131178: Fix `test_unknown_flag` for platform CLI by donbarbos · Pull Request #137816 · python/cpython

Description: Issue is that self.assertStartsWith will ordinarily never be called due to the SystemExit. Issue: Add tests for command-line interface #131178

Open Graph Description: Issue is that self.assertStartsWith will ordinarily never be called due to the SystemExit. Issue: Add tests for command-line interface #131178

X Description: Issue is that self.assertStartsWith will ordinarily never be called due to the SystemExit. Issue: Add tests for command-line interface #131178

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

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:906c3e18-b943-1e7b-1dd1-1137d2852b91
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAA28:130B90:645ED6:86428E:696BA5C6
html-safe-nonceb9ed832f7d7de91593d060a6574594126685a8971ebd3f9791c66b8b506b5da5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTI4OjEzMEI5MDo2NDVFRDY6ODY0MjhFOjY5NkJBNUM2IiwidmlzaXRvcl9pZCI6IjQ0NDA2MDYyNjI5MzE3Mjc4MTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac389e9ee90dd05c542397cd74883dff1b53e74bd381a868c0bcd7c9142ea9dbae
hovercard-subject-tagpull_request:2748613797
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/137816/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/bc4622fbee6e1393a5d37676586be45c22284b4ff5d45f314ea28d1967365ed3/python/cpython/pull/137816
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bc4622fbee6e1393a5d37676586be45c22284b4ff5d45f314ea28d1967365ed3/python/cpython/pull/137816
og:image:altIssue is that self.assertStartsWith will ordinarily never be called due to the SystemExit. Issue: Add tests for command-line interface #131178
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedonbarbos
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/137816#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F137816
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2F137816
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/137816
Reloadhttps://github.com/python/cpython/pull/137816
Reloadhttps://github.com/python/cpython/pull/137816
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/137816
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k 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.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/137816
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 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
Jump to bottomhttps://github.com/python/cpython/pull/137816#issue-comment-box
kumaraditya303https://github.com/kumaraditya303
python:mainhttps://github.com/python/cpython/tree/main
donbarbos:fix-platform-test_unknown_flaghttps://github.com/donbarbos/cpython/tree/fix-platform-test_unknown_flag
gh-131178: Fix test_unknown_flag for platform CLI https://github.com/python/cpython/pull/137816#top
kumaraditya303https://github.com/kumaraditya303
python:mainhttps://github.com/python/cpython/tree/main
donbarbos:fix-platform-test_unknown_flaghttps://github.com/donbarbos/cpython/tree/fix-platform-test_unknown_flag
Conversation 2 https://github.com/python/cpython/pull/137816
Commits 1 https://github.com/python/cpython/pull/137816/commits
Checks 50 https://github.com/python/cpython/pull/137816/checks
Files changed https://github.com/python/cpython/pull/137816/files
Please reload this pagehttps://github.com/python/cpython/pull/137816
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/donbarbos
donbarboshttps://github.com/donbarbos
Aug 15, 2025https://github.com/python/cpython/pull/137816#issue-3325064842
Please reload this pagehttps://github.com/python/cpython/pull/137816
Add tests for command-line interface #131178https://github.com/python/cpython/issues/131178
Please reload this pagehttps://github.com/python/cpython/pull/137816
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
tests https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atests
Aug 15, 2025https://github.com/python/cpython/pull/137816#event-19174940422
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Aug 15, 2025 https://github.com/python/cpython/pull/137816#ref-issue-2916421465
Add tests for command-line interface #131178 https://github.com/python/cpython/issues/131178
https://github.com/donbarbos
pythongh-131178https://github.com/python/cpython/issues/131178
: Fixhttps://github.com/python/cpython/pull/137816/commits/416e0b2fb40ab694ef2e4ad17c2676e43acf1080
test_unknown_flaghttps://github.com/python/cpython/pull/137816/commits/416e0b2fb40ab694ef2e4ad17c2676e43acf1080
for platform CLIhttps://github.com/python/cpython/pull/137816/commits/416e0b2fb40ab694ef2e4ad17c2676e43acf1080
416e0b2https://github.com/python/cpython/pull/137816/commits/416e0b2fb40ab694ef2e4ad17c2676e43acf1080
https://github.com/donbarbos
donbarboshttps://github.com/donbarbos
Aug 16, 2025https://github.com/python/cpython/pull/137816#issuecomment-3193799098
@AA-Turnerhttps://github.com/AA-Turner
suggestedhttps://github.com/python/cpython/pull/137748#issuecomment-3187852327
Please reload this pagehttps://github.com/python/cpython/pull/137816
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
Aug 16, 2025 https://github.com/python/cpython/pull/137816#pullrequestreview-3126100981
View reviewed changes https://github.com/python/cpython/pull/137816/files/416e0b2fb40ab694ef2e4ad17c2676e43acf1080
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Aug 16, 2025https://github.com/python/cpython/pull/137816#event-19188945879
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
Aug 16, 2025 https://github.com/python/cpython/pull/137816#pullrequestreview-3126102567
View reviewed changes https://github.com/python/cpython/pull/137816/files/416e0b2fb40ab694ef2e4ad17c2676e43acf1080
Lib/test/test_platform.pyhttps://github.com/python/cpython/pull/137816/files/416e0b2fb40ab694ef2e4ad17c2676e43acf1080#diff-894592671e2b62da7a88ead41c76b0fa35dbec0e17b8779ea0d11aea2657cb39
Please reload this pagehttps://github.com/python/cpython/pull/137816
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Aug 16, 2025https://github.com/python/cpython/pull/137816#event-19189010196
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
e76464dhttps://github.com/python/cpython/commit/e76464d161f2e7f2c27c84f8de4de5f88f025973
Sep 5, 2025https://github.com/python/cpython/pull/137816#event-19527196299
Please reload this pagehttps://github.com/python/cpython/pull/137816
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Sep 5, 2025https://github.com/python/cpython/pull/137816#event-19527197025
lkollarhttps://github.com/lkollar
Sep 9, 2025 https://github.com/python/cpython/pull/137816#ref-commit-b3c96b8
https://github.com/donbarbos
https://github.com/lkollar
pythongh-131178https://github.com/python/cpython/issues/131178
: Fixhttps://github.com/lkollar/cpython/commit/b3c96b837063a1ce4fb63f11b485de4bb0652043
test_unknown_flaghttps://github.com/lkollar/cpython/commit/b3c96b837063a1ce4fb63f11b485de4bb0652043
for platform CLI (https://github.com/lkollar/cpython/commit/b3c96b837063a1ce4fb63f11b485de4bb0652043
python#137816https://github.com/python/cpython/pull/137816
b3c96b8https://github.com/lkollar/cpython/commit/b3c96b837063a1ce4fb63f11b485de4bb0652043
https://github.com/python/cpython/pull/137816
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F137816
https://github.com/AA-Turner
AA-Turner https://github.com/AA-Turner
https://github.com/python/cpython/pull/137816/files/416e0b2fb40ab694ef2e4ad17c2676e43acf1080
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
tests https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atests
Please reload this pagehttps://github.com/python/cpython/pull/137816
https://github.com/donbarbos
https://github.com/AA-Turner
https://github.com/kumaraditya303
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.