diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-03-10 14:49:27 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-10 14:49:27 (GMT) |
| commit | ac5e23c540f5ec20fc390c72e097e0fdaf8b7ac9 (patch) | |
| tree | 9a9a6c4c0c3041fad9ef34e1586b0d5441adb989 /Python/pythonrun.c | |
| parent | a6d0182879d0bf275c4feb38b57f73236ab9c06c (diff) | |
| download | cpython-ac5e23c540f5ec20fc390c72e097e0fdaf8b7ac9.zip cpython-ac5e23c540f5ec20fc390c72e097e0fdaf8b7ac9.tar.gz cpython-ac5e23c540f5ec20fc390c72e097e0fdaf8b7ac9.tar.bz2 | |
bpo-43406: Fix test_signal.test_stress_modifying_handlers() (GH-24815)
Fix a race condition of test_stress_modifying_handlers() of
test_signal: only raise signals while we are in the
catch_unraisable_exception() context manager.
Moreover, don't check if we received at least one
signal if at least one signal got ignored.
(cherry picked from commit 1fa17e8cc62775a2e34b158135ce8589f9394f03)
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions
