-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
ParamSpec appears to get lost with mock.patch() #18595
Comments
For reference, the Resolution site: mypy/mypy/typeshed/stdlib/unittest/mock.pyi Lines 314 to 325 in 237933a
Definition site with explanatory comment: mypy/mypy/typeshed/stdlib/unittest/mock.pyi Lines 270 to 276 in 237933a
|
Ah, I see. Not going to work then. |
Bug Report
It appears that ParamSpec is used in typeshed (python/typeshed#10325), but when using --disallow-any-decorated it seems to be complaining that the parameters are gone.
To Reproduce
Actual Behavior
Your Environment
The text was updated successfully, but these errors were encountered: