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

[3.11] gh-105834: Backport new tests for typing.Protocol (#105835) #105860

Merged
merged 2 commits into from
Jun 16, 2023

Conversation

AlexWaygood
Copy link
Member

@AlexWaygood AlexWaygood commented Jun 16, 2023

(cherry-picked from commit 70c075c)

This actually backports some adjacent tests as well, which currently exist on main and 3.12 but not on 3.11. These tests weren't part of #105835, but (1) the tests all pass on 3.11; (2) more test coverage never hurts; and (3) backporting these tests will reduce the risk of merge conflicts when backporting test-only PRs in the future.

AlexWaygood and others added 2 commits June 16, 2023 17:02
…two protocols (python#105835)

Some parts of the implementation of `typing.Protocol` had poor test coverage
@JelleZijlstra JelleZijlstra enabled auto-merge (squash) June 16, 2023 16:24
@JelleZijlstra JelleZijlstra merged commit e590338 into python:3.11 Jun 16, 2023
15 checks passed
@AlexWaygood AlexWaygood deleted the backport-105835-311 branch June 16, 2023 16:39
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