Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
JelleZijlstra merged 2 commits into
python:3.11python/cpython:3.11from
AlexWaygood:backport-105835-311AlexWaygood/cpython:backport-105835-311Copy head branch name to clipboard
Jun 16, 2023
Merged

[3.11] gh-105834: Backport new tests for typing.Protocol (#105835)#105860
JelleZijlstra merged 2 commits into
python:3.11python/cpython:3.11from
AlexWaygood:backport-105835-311AlexWaygood/cpython:backport-105835-311Copy head branch name to clipboard

Conversation

@AlexWaygood

@AlexWaygood AlexWaygood commented Jun 16, 2023

Copy link
Copy Markdown
Member

(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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.