commit | 65cf1ad6723b6b4489fa7dda04283bb2466be531 | [log] [tgz] |
---|---|---|
author | Petr Viktorin <encukou@gmail.com> | Tue Jan 19 14:03:12 2021 +0100 |
committer | GitHub <noreply@github.com> | Tue Jan 19 14:03:12 2021 +0100 |
tree | 253f1321101093e5aca63f0595f16ab3b9fb7a01 | |
parent | bc450f9694fb8aa7a7a3d2f9d46f8b200e8aa4b3 [diff] |
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).