Skip to content

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

New issue

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

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

Already on GitHub? # to your account

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.

# for free to join this conversation on GitHub. Already have an account? # 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