diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-10-12 08:09:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-12 08:09:49 (GMT) |
commit | f98903542c55823bf0f149840d81729003ffc9d0 (patch) | |
tree | 07cc0613fae66f0a79a60d07e0a5b39634038188 /Python/ceval.c | |
parent | eb492d32b688534dfa0f956c0e7fa157dfacc2c3 (diff) | |
download | cpython-f98903542c55823bf0f149840d81729003ffc9d0.zip cpython-f98903542c55823bf0f149840d81729003ffc9d0.tar.gz cpython-f98903542c55823bf0f149840d81729003ffc9d0.tar.bz2 |
[3.11] gh-110673: test_pty raises on short write (GH-110677) (#110743)
gh-110673: test_pty raises on short write (GH-110677)
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 b4e8049766a46a9e6548b18d7e9a0c9f573cd122)
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Python/ceval.c')
0 files changed, 0 insertions, 0 deletions