Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-74690: Make a typing test more resilient #104691

Merged
merged 1 commit into from
May 21, 2023

Conversation

AlexWaygood
Copy link
Member

@AlexWaygood AlexWaygood commented May 20, 2023

While backporting #104622 to typing_extensions (python/typing_extensions#161), I discovered that one of the tests I added in #104622 fails on PyPy due to small differences in PyPy's implementation of abc.ABCMeta. Tests in CPython's test suite should generally be implementation-agnostic unless a test is explicitly marked with @test.support.cpython_only (or similar), so let's adapt the test so that it works equally well on alternative implementations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants