]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-137179: Fix flaky test_history_survive_crash test (gh-137180) (gh-137216)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 7 Oct 2025 17:38:30 +0000 (19:38 +0200)
committerGitHub <noreply@github.com>
Tue, 7 Oct 2025 17:38:30 +0000 (17:38 +0000)
commit52e88585b0e667b4ba4a8cd4a06228ea969587fe
tree21b88c4a218d1a253149cfd8e090d33b8d68d5f5
parent6e9845455e0c49792b26732dfadb1e1c5aab8bea
[3.14] gh-137179: Fix flaky test_history_survive_crash test (gh-137180) (gh-137216)

Kill the REPL subprocess once it prints the output from the command
immediately before the `time.sleep()`.
(cherry picked from commit 98d462cf4de82d4ef40b20bd346db1ba7edfa35c)

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