]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-110033: Fix signal test_interprocess_signal() (#110035)
authorVictor Stinner <vstinner@python.org>
Thu, 28 Sep 2023 17:12:11 +0000 (19:12 +0200)
committerGitHub <noreply@github.com>
Thu, 28 Sep 2023 17:12:11 +0000 (19:12 +0200)
commit7e0fbf5175fcf21dae390ba68b7f49706d62aa49
treeb29e5fc356af063a4bb5cb3f146c2a5e6e48f082
parent757cbd4f29c9e89b38b975e0463dc8ed331b2515
gh-110033: Fix signal test_interprocess_signal() (#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.
Lib/test/signalinterproctester.py
Misc/NEWS.d/next/Tests/2023-09-28-18-14-52.gh-issue-110033.2yHMx0.rst [new file with mode: 0644]