]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Skip test in test_socket.py if `sys.getrefcount` isn't available (#126640)
authorCF Bolz-Tereick <cfbolz@gmx.de>
Sun, 10 Nov 2024 15:16:36 +0000 (16:16 +0100)
committerGitHub <noreply@github.com>
Sun, 10 Nov 2024 15:16:36 +0000 (17:16 +0200)
commit0f6bb28ff3ba152faf7523ea9aaf0094cc39bdda
tree202c41eada09bf7778cc00d54ef9f1e1c1bc6da5
parent160758a574d12bf0d965d8206136e7da4f4fd6c3
Skip test in test_socket.py if `sys.getrefcount` isn't available (#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`.
Lib/test/test_socket.py