commit | 7a51a7e19f0143f75f8fc9ff68f93ed40937aec6 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Fri Apr 03 00:40:25 2020 +0200 |
committer | GitHub <noreply@github.com> | Fri Apr 03 00:40:25 2020 +0200 |
tree | a716f19384fc31145ea61fb5579b4774d873d2d2 | |
parent | 3c3aa4516c70753de06bb142b6793d01330fcf0f [diff] |
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.