SIGN IN SIGN UP

[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>
M
Miss Islington (bot) committed
973d549e72dc81594086cbac294274ed0ab5bf40
Parent: ff3cadd
Committed by GitHub <noreply@github.com> on 9/28/2023, 5:48:58 PM