GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-138013: Split TextIO tests from test_io.test_general by cmaloney · Pull Request #139173 · python/cpython

Conversation

@cmaloney

@cmaloney cmaloney commented Sep 19, 2025 •
edited by bedevere-app Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

These tests take 1.3 seconds on my dev machine, match fairly closely with testing textio.c implementation only.


I'm only planning one more split to these tests after this, finally moving the buffered out of test_general. Timings with -uall,largefile,extralargefile,walltime -M12G

- test_io.test_signals: 24.2 sec
- test_io.test_largefile: 10.0 sec
- test_io.test_general: 8.9 sec
- test_io.test_textio: 1.3 sec
- test_io.test_fileio: 375 ms
- test_io.test_bufferedio: 293 ms
- test_io.test_file: 87 ms
- test_io.test_memoryio: 56 ms
- test_io.test_univnewlines: 31 ms
  • Issue: Move Buffered tests from test_io to test_bufio #138013

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@cmaloney
pythongh-138013: Split TextIO tests from test_general
6704471
These tests take 1.3 seconds on my dev machine, match fairly closely
with testing `textio.c` implementation only.
@bedevere-app bedevere-app Bot added awaiting review tests Tests in the Lib/test dir labels Sep 19, 2025
@bedevere-app bedevere-app Bot mentioned this pull request Sep 19, 2025
Move Buffered tests from test_io to test_bufio #138013
Closed
@cmaloney cmaloney changed the title gh-138013: Split TextIO tests from test_general gh-138013: Split TextIO tests from testtest_general Sep 19, 2025
@cmaloney cmaloney changed the title gh-138013: Split TextIO tests from testtest_general gh-138013: Split TextIO tests from test_io.test_general Sep 19, 2025
@StanFromIreland StanFromIreland added the skip news label Sep 19, 2025
@cmaloney
Merge branch 'main' into split_textio
e9aceb8
@cmaloney

cmaloney commented Sep 29, 2025

Copy link
Copy Markdown
Contributor Author

cc: @vstinner (only one more to go after this than test_io split will be done)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vstinner
vstinner merged commit f752fde into python:main Sep 30, 2025
@bedevere-app bedevere-app Bot removed the awaiting review label Sep 30, 2025
@vstinner

vstinner commented Sep 30, 2025

Copy link
Copy Markdown
Member

Merged, thank you.

cmaloney reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@cmaloney
cmaloney deleted the split_textio branch October 1, 2025 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@cmaloney @vstinner @StanFromIreland
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.