summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-03-10 15:10:57 (GMT)
committerGitHub <noreply@github.com>2021-03-10 15:10:57 (GMT)
commit531f2ebd60a662111c78107935d249d3d52f9a4f (patch)
treed4d8a62ad438ad39529be72f6bf9511e8e552b69 /Python/pythonrun.c
parentf814675376318e0bf9e14fc62826a113cb4ca652 (diff)
downloadcpython-531f2ebd60a662111c78107935d249d3d52f9a4f.zip
cpython-531f2ebd60a662111c78107935d249d3d52f9a4f.tar.gz
cpython-531f2ebd60a662111c78107935d249d3d52f9a4f.tar.bz2
bpo-43406: Fix test_signal.test_stress_modifying_handlers() (GH-24815) (GH-24817)
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> Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions