René's URL Explorer Experiment


Title: gh-138013: Move test.test_io to be a module by cmaloney · Pull Request #138153 · python/cpython · GitHub

Open Graph Title: gh-138013: Move test.test_io to be a module by cmaloney · Pull Request #138153 · python/cpython

X Title: gh-138013: Move test.test_io to be a module by cmaloney · Pull Request #138153 · python/cpython

Description: This sets up for having a test_io._support which contains the I/O mocks for sharing between multiple io module test files. Also starts a path for all the io module tests to live in a single module for simpler running rather than requiring knowledge of the list of io tests which lives in a comment in test_io. Common test invocatoins (ex. python -m test test_io -uall -M8G and python -m test.test_io) run the same set of tests after this change as before. I copied __init__.py and __main__.py from other python test sub directory instances; happy to tweak if needed. It is possible to split out the Buffered I/O tests without moving test_io to be a module. In that case still will need a module where the common "mocks" live (My tentative plan is test.test_io._support). I think this sets up for more understandable structure to the io tests overall, but happy to explore the problem space if desired. Issue: gh-138013

Open Graph Description: This sets up for having a test_io._support which contains the I/O mocks for sharing between multiple io module test files. Also starts a path for all the io module tests to live in a single module ...

X Description: This sets up for having a test_io._support which contains the I/O mocks for sharing between multiple io module test files. Also starts a path for all the io module tests to live in a single module ...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:54c00a4c-6606-7882-c89f-2fdb5840511f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8CF6:C1205:12E930:19CD86:6A52396A
html-safe-nonce44155c22ba95d74004755bfe13eb16ff10106a68b35eba10374663a07fea283b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Q0Y2OkMxMjA1OjEyRTkzMDoxOUNEODY6NkE1MjM5NkEiLCJ2aXNpdG9yX2lkIjoiNTM5MjQxNDM2OTE0MDMyNDcxNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac33996bfe64f9fe29f6e14012849da2afd26fa4a8b953ec4f50ed615e7dad456d
hovercard-subject-tagpull_request:2773394417
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/138153/files
twitter:imagehttps://avatars.githubusercontent.com/u/751088?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/751088?s=400&v=4
og:image:altThis sets up for having a test_io._support which contains the I/O mocks for sharing between multiple io module test files. Also starts a path for all the io module tests to live in a single module ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
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
release7aed05249554b889eb33d002851a973eebcc7e91
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/138153/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F138153%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%2F138153%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/138153/files
Reloadhttps://github.com/python/cpython/pull/138153/files
Reloadhttps://github.com/python/cpython/pull/138153/files
Please reload this pagehttps://github.com/python/cpython/pull/138153/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/138153/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k 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
AA-Turnerhttps://github.com/AA-Turner
python:mainhttps://github.com/python/cpython/tree/main
cmaloney:test_io_load_tests_reworkhttps://github.com/cmaloney/cpython/tree/test_io_load_tests_rework
Conversation 8 https://github.com/python/cpython/pull/138153
Commits 1 https://github.com/python/cpython/pull/138153/commits
Checks 49 https://github.com/python/cpython/pull/138153/checks
Files changed https://github.com/python/cpython/pull/138153/files
Please reload this pagehttps://github.com/python/cpython/pull/138153/files
gh-138013: Move test.test_io to be a module https://github.com/python/cpython/pull/138153/files#top
Show all changes 1 commit https://github.com/python/cpython/pull/138153/files
4e0fb32 gh-138013: Move test.test_io to be a module cmaloney Aug 26, 2025 https://github.com/python/cpython/pull/138153/commits/4e0fb328f24a59c1f1a3ca5458ce610686f13c72
Clear filters https://github.com/python/cpython/pull/138153/files
Please reload this pagehttps://github.com/python/cpython/pull/138153/files
Please reload this pagehttps://github.com/python/cpython/pull/138153/files
__init__.py https://github.com/python/cpython/pull/138153/files#diff-f9db737c92d978d11a7e42d476f87740a1997e301e0991dcc51ca41ff805b8ce
__main__.py https://github.com/python/cpython/pull/138153/files#diff-dfca483e2659049c5cf5d8ebf6b4a1b94f1fd3250789ca46f5fc2eefcd188066
test_general.py https://github.com/python/cpython/pull/138153/files#diff-2614a0b8891148b52f22187445bc9421cf53282bccd5fb90519b1ff8e344d10e
Makefile.pre.in https://github.com/python/cpython/pull/138153/files#diff-1f0a8db227d22005511b0d90f5339b97db345917b863954b3b3ccb9ec308767c
Lib/test/test_io/__init__.pyhttps://github.com/python/cpython/pull/138153/files#diff-f9db737c92d978d11a7e42d476f87740a1997e301e0991dcc51ca41ff805b8ce
View file https://github.com/cmaloney/cpython/blob/4e0fb328f24a59c1f1a3ca5458ce610686f13c72/Lib/test/test_io/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/138153/{{ revealButtonHref }}
Lib/test/test_io/__main__.pyhttps://github.com/python/cpython/pull/138153/files#diff-dfca483e2659049c5cf5d8ebf6b4a1b94f1fd3250789ca46f5fc2eefcd188066
View file https://github.com/cmaloney/cpython/blob/4e0fb328f24a59c1f1a3ca5458ce610686f13c72/Lib/test/test_io/__main__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/138153/{{ revealButtonHref }}
Lib/test/test_io.py → Lib/test/test_io/test_general.pyhttps://github.com/python/cpython/pull/138153/files#diff-2614a0b8891148b52f22187445bc9421cf53282bccd5fb90519b1ff8e344d10e
View file https://github.com/cmaloney/cpython/blob/4e0fb328f24a59c1f1a3ca5458ce610686f13c72/Lib/test/test_io/test_general.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/138153/{{ revealButtonHref }}
https://github.com/python/cpython/pull/138153/files#diff-2614a0b8891148b52f22187445bc9421cf53282bccd5fb90519b1ff8e344d10e
AA-Turnerhttps://github.com/AA-Turner
Aug 26, 2025https://github.com/python/cpython/pull/138153/files#r2299507164
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/138153/files
cmaloneyhttps://github.com/cmaloney
Aug 26, 2025https://github.com/python/cpython/pull/138153/files#r2299522188
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
gh-138013https://github.com/python/cpython/issues/138013
Please reload this pagehttps://github.com/python/cpython/pull/138153/files
AA-Turnerhttps://github.com/AA-Turner
Aug 27, 2025https://github.com/python/cpython/pull/138153/files#r2304877164
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/138153/files
https://github.com/python/cpython/pull/138153/files#diff-2614a0b8891148b52f22187445bc9421cf53282bccd5fb90519b1ff8e344d10e
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L85
Makefile.pre.inhttps://github.com/python/cpython/pull/138153/files#diff-1f0a8db227d22005511b0d90f5339b97db345917b863954b3b3ccb9ec308767c
View file https://github.com/cmaloney/cpython/blob/4e0fb328f24a59c1f1a3ca5458ce610686f13c72/Makefile.pre.in
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/138153/{{ revealButtonHref }}
https://github.com/python/cpython/pull/138153/files#diff-1f0a8db227d22005511b0d90f5339b97db345917b863954b3b3ccb9ec308767c
https://github.com/python/cpython/pull/138153/files#diff-1f0a8db227d22005511b0d90f5339b97db345917b863954b3b3ccb9ec308767c
Please reload this pagehttps://github.com/python/cpython/pull/138153/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.