Skip to content

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

Merged
JelleZijlstra merged 2 commits intopython:3.11from
AlexWaygood:backport-105835-311
Jun 16, 2023
Merged

[3.11] gh-105834: Backport new tests for typing.Protocol (#105835)#105860
JelleZijlstra merged 2 commits intopython:3.11from
AlexWaygood:backport-105835-311

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
@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