Skip to content

gh-163124: Remove the _pyio tests - #163128

Merged
cmaloney merged 2 commits into
python:mainfrom
cmaloney:exp/pyio-remove-tests
Dec 4, 2026
Merged

cmaloney merged 2 commits into
python:mainfrom
cmaloney:exp/pyio-remove-tests

Conversation

@cmaloney

@cmaloney cmaloney commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Run the io tests against the C implementation only. The _pyio test classes and mocks go away, and tests that the C classes shared with them move into mixins.

This is separated from removing the _pyio code as there are more intricate changes in it. Sometimes that is branches in tests, sometimes it is test hierarchy.

Run the io tests against the C implementation only. The _pyio test
classes and mocks go away, and tests that the C classes shared with them
move into mixins.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bedevere-app bedevere-app Bot added the type-feature A feature request or enhancement label Dec 4, 2026
@bedevere-app bedevere-app Bot mentioned this pull request Dec 4, 2026
3 of 4 tasks
Comment thread Lib/test/test_io/utils.py Outdated
BlockingIOError = pyio.BlockingIOError


# Build classes which point to all the right mocks per io implementation

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this comment looks unnecessary.

@cmaloney
cmaloney merged commit 86971e4 into python:main Dec 4, 2026
51 checks passed
@cmaloney
cmaloney deleted the exp/pyio-remove-tests branch December 4, 2026 19:51
@vstinner

vstinner commented Dec 5, 2026

Copy link
Copy Markdown
Member

Bye bye heavy tests!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants