Skip to content

Fixed a bug in the protocols_generic.py test related to protocol matc… - #1864

Merged
erictraut merged 1 commit into
python:mainfrom
erictraut:genericProtoTestBug
Oct 11, 2024
Merged

erictraut merged 1 commit into
python:mainfrom
erictraut:genericProtoTestBug

Conversation

@erictraut

Copy link
Copy Markdown
Collaborator

…hing when method-scoped type variables were used. Both pyright and mypy were previously reported as failing this test, but they were actually working correctly. This was a bug in the original test case (which I wrote).

Updated to the latest version of pytest (2024.10.11). It updates many error messages but has no substantive changes to the conformance results.

…hing when method-scoped type variables were used. Both pyright and mypy were previously reported as failing this test, but they were actually working correctly. This was a bug in the original test case (which I wrote).

Updated to the latest version of pytest (2024.10.11). It updates many error messages but has no substantive changes to the conformance results.

@JelleZijlstra JelleZijlstra left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree this case should be an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants