SIGN IN SIGN UP

[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>
M
Miss Islington (bot) committed
c47c6416c3614f5a58f5d4fd86714ed4b6bd60c4
Parent: 5030e81
Committed by GitHub <noreply@github.com> on 11/10/2024, 3:34:52 PM