]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] 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:41:42 +0000 (16:41 +0100)
committerGitHub <noreply@github.com>
Sun, 10 Nov 2024 15:41:42 +0000 (15:41 +0000)
commit9473ae9b5105f1aeba158f2abcc0eff18a48a5c5
tree47e2fccf37d9d48df3d57d88e510b3696e1c8682
parent0d3aa25ee41d03bb8b4e6d90beee15835321f724
[3.13] Skip test in test_socket.py if `sys.getrefcount` isn't available (GH-126640) (#126645)

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