]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41818: Close file descriptors in test_openpty (#GH-24119)
authorPetr Viktorin <encukou@gmail.com>
Tue, 19 Jan 2021 13:03:12 +0000 (14:03 +0100)
committerGitHub <noreply@github.com>
Tue, 19 Jan 2021 13:03:12 +0000 (14:03 +0100)
commit65cf1ad6723b6b4489fa7dda04283bb2466be531
tree253f1321101093e5aca63f0595f16ab3b9fb7a01
parentbc450f9694fb8aa7a7a3d2f9d46f8b200e8aa4b3
bpo-41818: Close file descriptors in test_openpty (#GH-24119)

When stdin is a TTY, the test added in commit c13d89955d9a2942c6355d6839d7096323244136
is expected to fail. However, when it failed, it did not close
its file descriptors. This is flagged by the refleak tests (but
only when stdin is a TTY, which doesn't seem to be the case on CI).
Lib/test/test_pty.py