-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
gh-111126: Use isinstance
instead of assert[Not]IsInstance
in test_typing
#111127
Conversation
…n `test_typing`
isintance
instead of assert[Not]IsInstance
in test_typing
isinstance
instead of assert[Not]IsInstance
in test_typing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, nice improvement -- this makes the intention of the test clearer!
Thanks @sobolevn for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
…in `test_typing` (pythonGH-111127) (cherry picked from commit ea7c26e) Co-authored-by: Nikita Sobolev <[email protected]>
…in `test_typing` (pythonGH-111127) (cherry picked from commit ea7c26e) Co-authored-by: Nikita Sobolev <[email protected]>
GH-111130 is a backport of this pull request to the 3.12 branch. |
GH-111131 is a backport of this pull request to the 3.11 branch. |
…in `test_typing` (python#111127)
…in `test_typing` (python#111127)
test_typing
has strangeassertIsInstance
calls #111126