]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-140482: Avoid changing terminal settings in test_pty (gh-142202) (gh-142238)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 5 Dec 2025 20:20:42 +0000 (21:20 +0100)
committerGitHub <noreply@github.com>
Fri, 5 Dec 2025 20:20:42 +0000 (15:20 -0500)
commitb44cd567fc409f542f81161bd4e0281e27db818b
tree69ce1c79f2d822289bc21ddf3c807d1cfd1e1e6f
parent10d1e9369a3c0cec9ac355795a08d15f149b75f5
[3.13] gh-140482: Avoid changing terminal settings in test_pty (gh-142202) (gh-142238)

The previous test_spawn_doesnt_hang test had a few problems:

* It would cause ENV CHANGED failures if other tests were running
  concurrently due to stty changes
* Typing while the test was running could cause it to fail
(cherry picked from commit c0c65141b37029bfb364094a6dfb4c75ebf8359e)

Co-authored-by: Sam Gross <colesbury@gmail.com>
Lib/test/test_pty.py