cpython/Lib/test/test_pyrepl
Miss Islington (bot) bb5d19440b
[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 0f3e36454d)

Co-authored-by: Victor Stinner <vstinner@python.org>
2024-06-19 13:38:37 +00:00
..
__init__.py [3.13] gh-111201: Support pyrepl on Windows (GH-119559) (GH-119850) 2024-05-31 17:18:28 +02:00
__main__.py
support.py [3.13] gh-119553: Clear reader on Ctrl-C command (GH-119801) (#120062) 2024-06-04 18:45:22 +00:00
test_input.py
test_interact.py [3.13] gh-118894: Make asyncio REPL use pyrepl (GH-119433) (#119884) 2024-05-31 17:15:44 -04:00
test_keymap.py [3.13] gh-119357: Increase test coverage for keymap in _pyrepl (GH-119358) (#119414) 2024-05-22 23:13:01 +02:00
test_pyrepl.py [3.13] gh-120635: Avoid leaking processes in test_pyrepl (GH-120676) (#120741) 2024-06-19 13:38:37 +00:00
test_reader.py [3.13] gh-119842: Honor PyOS_InputHook in the new REPL (GH-119843) (GH-120066) 2024-06-04 21:26:10 +02:00
test_unix_console.py [3.13] Use Cirrus M1 macOS runners for CI (GH-119979) (GH-119986) 2024-06-03 18:15:37 +02:00
test_unix_eventqueue.py [3.13] gh-111201: Support pyrepl on Windows (GH-119559) (GH-119850) 2024-05-31 17:18:28 +02:00
test_windows_console.py [3.13] Use Cirrus M1 macOS runners for CI (GH-119979) (GH-119986) 2024-06-03 18:15:37 +02:00