SIGN IN SIGN UP

[3.12] gh-130737: Fix multiprocessing test_notify() (GH-130797) (#130803)

gh-130737: Fix multiprocessing test_notify() (GH-130797)

Replace hardcoded delay (100 ms) with a loop awaiting until a
condition is true: replace assertReturnsIfImplemented() with
assertReachesEventually().

Use sleeping_retry() in assertReachesEventually() to tolerate slow
buildbots and raise an exception on timeout (30 seconds).
(cherry picked from commit 8a64a62002fa3cdc93cb4cfee315edb235cad8cb)

Co-authored-by: Victor Stinner <vstinner@python.org>
M
Miss Islington (bot) committed
519dec97e726d190e1c5c9a5ecf12b27e3e5e1f4
Parent: 3614649
Committed by GitHub <noreply@github.com> on 3/3/2025, 7:02:20 PM