]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-80931: Skip some socket tests while hunting for refleaks on macOS (#114057)
authorRonald Oussoren <ronaldoussoren@mac.com>
Sun, 21 Jan 2024 10:25:15 +0000 (11:25 +0100)
committerGitHub <noreply@github.com>
Sun, 21 Jan 2024 10:25:15 +0000 (11:25 +0100)
commit5adff3f86ff92cbd27380ad88357c77b330af6e1
treea0d7094ab58dc1af6444f09c7bda8caca8edd4b3
parent47133d8d869c94c4d1f340b5481cc3f2cdc7d68b
gh-80931: Skip some socket tests while hunting for refleaks on macOS (#114057)

Some socket tests related to sending file descriptors cause a file descriptor leak on macOS, all of them tests that send one or more descriptors than cannot be received on the read end.  This appears to be a platform bug.

This PR skips those tests when doing a refleak test run to avoid hiding other problems.
Lib/test/libregrtest/refleak.py
Lib/test/support/refleak_helper.py [new file with mode: 0644]
Lib/test/test_socket.py