]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-140482: Avoid changing terminal settings in test_pty (gh-142202)
authorSam Gross <colesbury@gmail.com>
Wed, 3 Dec 2025 20:48:44 +0000 (15:48 -0500)
committerGitHub <noreply@github.com>
Wed, 3 Dec 2025 20:48:44 +0000 (15:48 -0500)
commitc0c65141b37029bfb364094a6dfb4c75ebf8359e
treea3d43187eab715fcdb3d6a897c03413e215ac917
parent62423c9c36f428ba07c83aeea7cbacc7cbb34ed2
gh-140482: Avoid changing terminal settings in test_pty (gh-142202)

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
Lib/test/test_pty.py