bpo-40140: test_builtin.PtyTests registers SIGHUP handler (GH-19314)
test_builtin.PtyTests now registers an handler for SIGHUP signal. Closing the PTY file descriptor can emit a SIGHUP signal: just ignore it. run_child() now also closes the PTY file descriptor before waiting for the process completition, otherwise the test hangs on AIX.
V
Victor Stinner committed
7a51a7e19f0143f75f8fc9ff68f93ed40937aec6
Parent: 3c3aa45
Committed by GitHub <noreply@github.com>
on 4/2/2020, 10:40:25 PM