]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-110647: Fix signal test_stress_modifying_handlers() (GH-110650) (#110658)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 11 Oct 2023 00:26:48 +0000 (02:26 +0200)
committerGitHub <noreply@github.com>
Wed, 11 Oct 2023 00:26:48 +0000 (00:26 +0000)
commitdcd47e506d48d1fa2fd6a2365559e77eecc48ab5
tree74b65421639f42e2f7ffc25bda258cb283cfc567
parentc2d542b42cd109d81c0308f9c4437c38ac74d2e0
[3.12] gh-110647: Fix signal test_stress_modifying_handlers() (GH-110650) (#110658)

gh-110647: Fix signal test_stress_modifying_handlers() (GH-110650)

* cycle_handlers() now waits until at least one signal is received.
* num_received_signals can be equal to num_sent_signals.
(cherry picked from commit e07c37cd5212c9d13749b4d02a1d68e1efcba6cf)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_signal.py
Misc/NEWS.d/next/Tests/2023-10-10-23-20-13.gh-issue-110647.jKG3sY.rst [new file with mode: 0644]