diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2025-03-03 19:02:20 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-03 19:02:20 (GMT) |
| commit | 519dec97e726d190e1c5c9a5ecf12b27e3e5e1f4 (patch) | |
| tree | 4cba453a56942d2eb937ac57321d49181be0f090 /Python/pythonrun.c | |
| parent | 3614649714a15c9b810e7697ed625662f0b164bd (diff) | |
| download | cpython-519dec97e726d190e1c5c9a5ecf12b27e3e5e1f4.zip cpython-519dec97e726d190e1c5c9a5ecf12b27e3e5e1f4.tar.gz cpython-519dec97e726d190e1c5c9a5ecf12b27e3e5e1f4.tar.bz2 | |
[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>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions
