]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] Skip test in test_socket.py if `sys.getrefcount` isn't available (GH-126640...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 10 Nov 2024 15:34:52 +0000 (16:34 +0100)
committerGitHub <noreply@github.com>
Sun, 10 Nov 2024 15:34:52 +0000 (15:34 +0000)
commitc47c6416c3614f5a58f5d4fd86714ed4b6bd60c4
tree89f54b2cb9a41450664824ee42e34cc35b2732d5
parent5030e81dedd482fd313884991d8b3447dd153fcb
[3.12] Skip test in test_socket.py if `sys.getrefcount` isn't available (GH-126640) (#126646)

Skip test in test_socket.py if `sys.getrefcount` isn't available (GH-126640)

Skip `testMakefileCloseSocketDestroy` test if `sys.getrefcount` isn't available. This is necessary for  PyPy and other Python implementations that do not have `sys.getrefcount`.
(cherry picked from commit 0f6bb28ff3ba152faf7523ea9aaf0094cc39bdda)

Co-authored-by: CF Bolz-Tereick <cfbolz@gmx.de>
Lib/test/test_socket.py