Skip to content

mock: Fix unconstrained TypeVar - #7945

Merged
AlexWaygood merged 1 commit into
masterfrom
JelleZijlstra-patch-5
May 25, 2022
Merged

mock: Fix unconstrained TypeVar#7945
AlexWaygood merged 1 commit into
masterfrom
JelleZijlstra-patch-5

Conversation

@JelleZijlstra

Copy link
Copy Markdown
Member

The first overload covers the case where new is not given.

Part of #7928

The first overload covers the case where `new` is not given.
Part of #7928
@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

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

A refreshingly easy fix

@AlexWaygood
AlexWaygood merged commit 796a689 into masterMay 25, 2022
@AlexWaygood
AlexWaygood deleted the JelleZijlstra-patch-5 branch May 25, 2022 05:52
Sign up for freeto 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

@JelleZijlstra@AlexWaygood