]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38547: Fix test_pty if the process is the session leader (GH-17519)
authorVictor Stinner <vstinner@python.org>
Mon, 9 Dec 2019 10:57:05 +0000 (11:57 +0100)
committerGitHub <noreply@github.com>
Mon, 9 Dec 2019 10:57:05 +0000 (11:57 +0100)
commita1838ec2592e5082c75c77888f2a7a3eb21133e5
tree46c91b9a81903ff9ef48ed91107ebe10594b6837
parent109fc2792a490ee5cd8a423e17d415fbdedec5c8
bpo-38547: Fix test_pty if the process is the session leader (GH-17519)

Fix test_pty: if the process is the session leader, closing the
master file descriptor raises a SIGHUP signal: simply ignore SIGHUP
when running the tests.
Lib/test/test_pty.py
Misc/NEWS.d/next/Tests/2019-12-09-11-32-34.bpo-38547.Juw54e.rst [new file with mode: 0644]