]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-120635: Avoid leaking processes in test_pyrepl (#120676)
authorVictor Stinner <vstinner@python.org>
Wed, 19 Jun 2024 13:14:29 +0000 (15:14 +0200)
committerGitHub <noreply@github.com>
Wed, 19 Jun 2024 13:14:29 +0000 (15:14 +0200)
commit0f3e36454d754026d6c510053ff1e4b22ae80cd9
tree70cc67a8ca1119081d18424e42edb2af90e906aa
parentd8f27cb1141fd3575de816438ed80a916c0560ed
gh-120635: Avoid leaking processes in test_pyrepl (#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.
Lib/test/test_pyrepl/test_pyrepl.py