Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.11] gh-110673: test_pty raises on short write (GH-110677) #110743

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Oct 11, 2023

Add write_all() helper function to test_pty to raise an exception on
short write: if os.writes() does not write all bytes. It should not
happen for a PTY.
(cherry picked from commit b4e8049)

Co-authored-by: Victor Stinner vstinner@python.org

Add write_all() helper function to test_pty to raise an exception on
short write: if os.writes() does not write all bytes. It should not
happen for a PTY.
(cherry picked from commit b4e8049)

Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-app bedevere-app bot added tests Tests in the Lib/test dir awaiting review labels Oct 11, 2023
@vstinner vstinner merged commit f989035 into python:3.11 Oct 12, 2023
17 checks passed
@miss-islington miss-islington deleted the backport-b4e8049-3.11 branch October 12, 2023 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants