]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-110647: Fix signal test_stress_modifying_handlers() (GH-110650) (#110659)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 11 Oct 2023 00:21:51 +0000 (02:21 +0200)
committerGitHub <noreply@github.com>
Wed, 11 Oct 2023 00:21:51 +0000 (00:21 +0000)
commit46347d3caf92e773f99b301ab4de7d13c99e04e3
treed2264113a117f432454bea3fbbb16d94f2549ba3
parenta009bb872c57ad3317caaf4caad5327d0ff664e2
[3.11] gh-110647: Fix signal test_stress_modifying_handlers() (GH-110650) (#110659)

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]