]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-120635: Avoid leaking processes in test_pyrepl (GH-120676) (#120741)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 19 Jun 2024 13:38:37 +0000 (15:38 +0200)
committerGitHub <noreply@github.com>
Wed, 19 Jun 2024 13:38:37 +0000 (13:38 +0000)
commitbb5d19440b8056bd2b272239a2c0b1c2063b3af6
treeb795dbe80072005850c263cbf8f0b409d410d99c
parent4ce1246a9958d2d1452f83be961e369f7d050714
[3.13] gh-120635: Avoid leaking processes in test_pyrepl (GH-120676) (#120741)

gh-120635: Avoid leaking processes in test_pyrepl (GH-120676)

If the child process takes longer than SHORT_TIMEOUT seconds to
complete, kill the process but then wait until it completes with no
timeout to not leak child processes.
(cherry picked from commit 0f3e36454d754026d6c510053ff1e4b22ae80cd9)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_pyrepl/test_pyrepl.py