]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-140482: Avoid changing terminal settings in test_pty (gh-142202) (gh-142239)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 5 Dec 2025 16:18:40 +0000 (17:18 +0100)
committerGitHub <noreply@github.com>
Fri, 5 Dec 2025 16:18:40 +0000 (11:18 -0500)
commit8fd39c0e51b51c789d0cead38a570964fd9e0b30
tree7b2d2ba317f41a5f2d507f39be92e791c05f0da9
parent7eec794f1a017627943b41391a12829604450cff
[3.14] gh-140482: Avoid changing terminal settings in test_pty (gh-142202) (gh-142239)

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