SIGN IN SIGN UP

[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>
M
Miss Islington (bot) committed
9473ae9b5105f1aeba158f2abcc0eff18a48a5c5
Parent: 0d3aa25
Committed by GitHub <noreply@github.com> on 11/10/2024, 3:41:42 PM