diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-09-28 17:48:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-28 17:48:58 (GMT) |
commit | 973d549e72dc81594086cbac294274ed0ab5bf40 (patch) | |
tree | f8dc0f3ec2dd83cd4e8c097def78a9ef6e0adec3 /Python/traceback.c | |
parent | ff3cadd2a1df9bdf0b82bf21ae1d70e5bda23a5c (diff) | |
download | cpython-973d549e72dc81594086cbac294274ed0ab5bf40.zip cpython-973d549e72dc81594086cbac294274ed0ab5bf40.tar.gz cpython-973d549e72dc81594086cbac294274ed0ab5bf40.tar.bz2 |
[3.11] gh-110033: Fix signal test_interprocess_signal() (GH-110035) (#110041)
gh-110033: Fix signal test_interprocess_signal() (GH-110035)
Fix test_interprocess_signal() of test_signal. Make sure that the
subprocess.Popen object is deleted before the test raising an
exception in a signal handler. Otherwise, Popen.__del__() can get the
exception which is logged as "Exception ignored in: ...." and the
test fails.
(cherry picked from commit 7e0fbf5175fcf21dae390ba68b7f49706d62aa49)
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Python/traceback.c')
0 files changed, 0 insertions, 0 deletions