-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Use ParamSpec
in unittest.case
#7012
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
Conversation
That's all I can find in |
I think these can also return object, like with the asyncio one. |
Oh, I've also missed cases like |
This comment has been minimized.
This comment has been minimized.
I will double check that I've covered everything tomorrow with a better regex (that counts possible multiline func definitions). Thanks a lot for your reviews! 👍 |
protip: reformat the codebase with |
This comment has been minimized.
This comment has been minimized.
Idea: maybe we don't need to type Some people might send some intentionally bad arguments 🤔 |
This comment has been minimized.
This comment has been minimized.
1 similar comment
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
@srittau @JelleZijlstra friendly ping 😉 |
No description provided.