Skip to content

Conversation

@cfbolz
Copy link
Contributor

@cfbolz cfbolz commented Nov 10, 2024

this is already done for testRefCountGetNameInfo in the same file. on pypy and other non-cpython implementations there is no getrefcount.

@bedevere-app bedevere-app bot added tests Tests in the Lib/test dir awaiting core review labels Nov 10, 2024
cfbolz added a commit to pypy/pypy that referenced this pull request Nov 10, 2024
@Eclips4 Eclips4 merged commit 0f6bb28 into python:main Nov 10, 2024
46 checks passed
@Eclips4 Eclips4 added needs backport to 3.12 only security fixes needs backport to 3.13 bugs and security fixes labels Nov 10, 2024
@miss-islington-app
Copy link

Thanks @cfbolz for the PR, and @Eclips4 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Thanks @cfbolz for the PR, and @Eclips4 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 10, 2024
…honGH-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 0f6bb28)

Co-authored-by: CF Bolz-Tereick <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Nov 10, 2024

GH-126645 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Nov 10, 2024
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 10, 2024
…honGH-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 0f6bb28)

Co-authored-by: CF Bolz-Tereick <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Nov 10, 2024

GH-126646 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Nov 10, 2024
Eclips4 pushed a commit that referenced this pull request Nov 10, 2024
…le (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 0f6bb28)

Co-authored-by: CF Bolz-Tereick <[email protected]>
Eclips4 pushed a commit that referenced this pull request Nov 10, 2024
…le (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 0f6bb28)

Co-authored-by: CF Bolz-Tereick <[email protected]>
@cfbolz
Copy link
Contributor Author

cfbolz commented Nov 10, 2024

thank you, @Eclips4!

picnixz pushed a commit to picnixz/cpython that referenced this pull request Dec 8, 2024
…hon#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`.
ebonnal pushed a commit to ebonnal/cpython that referenced this pull request Jan 12, 2025
…hon#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`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip issue skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants