◐ Shell
clean mode source ↗

bpo-41818: Close file descriptors in test_openpty by encukou · Pull Request #24119 · python/cpython

When stdin is a TTY, the test added in commit c13d899
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).

zware

@encukou

@encukou

adorilson pushed a commit to adorilson/cpython that referenced this pull request

Mar 13, 2021
When stdin is a TTY, the test added in commit c13d899
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).

@8vasu 8vasu mannequin mentioned this pull request

May 5, 2022