FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-74690: Make a typing test more resilient by AlexWaygood · Pull Request #104691 · python/cpython · GitHub

/ cpython Public

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

Merged
JelleZijlstra merged 1 commit into
python:mainfrom
AlexWaygood:buggy-typing-test
May 21, 2023
Merged

gh-74690: Make a typing test more resilient#104691
JelleZijlstra merged 1 commit into
python:mainfrom
AlexWaygood:buggy-typing-test

Conversation

AlexWaygood commented May 20, 2023
edited
Loading

Copy link
Copy Markdown
Member

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.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL