]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-130730: Fix multiprocessing test_active_children() (GH-130837) (#130845)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 4 Mar 2025 17:28:33 +0000 (18:28 +0100)
committerGitHub <noreply@github.com>
Tue, 4 Mar 2025 17:28:33 +0000 (17:28 +0000)
commit22d729cf5db6b03930d52c648327e0d953f9e3bc
tree9caa6387763979aa1b773c649eb91138ee4da7f8
parenta115480f71a44f53372392d262c50914544d583d
[3.13] gh-130730: Fix multiprocessing test_active_children() (GH-130837) (#130845)

gh-130730: Fix multiprocessing test_active_children() (GH-130837)

Replace a sleep with an event: sleep is not a reliable
synchronization primitive.
(cherry picked from commit 3dd3675492a3fc3b7996613ef75a9044ee7449b0)

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