Skip to content
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

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

sobolevn
Copy link
Member

@sobolevn sobolevn commented Oct 20, 2023

@bedevere-app bedevere-app bot added awaiting review tests Tests in the Lib/test dir labels Oct 20, 2023
@sobolevn sobolevn changed the title gh-111126: Use isintance instead of assert[Not]IsInstance in test_typing gh-111126: Use isinstance instead of assert[Not]IsInstance in test_typing Oct 20, 2023
Copy link
Member

@AlexWaygood AlexWaygood left a 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!

@JelleZijlstra JelleZijlstra enabled auto-merge (squash) October 20, 2023 17:40
@JelleZijlstra JelleZijlstra merged commit ea7c26e into python:main Oct 20, 2023
29 checks passed
@miss-islington-app
Copy link

Thanks @sobolevn for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 20, 2023
…in `test_typing` (pythonGH-111127)

(cherry picked from commit ea7c26e)

Co-authored-by: Nikita Sobolev <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 20, 2023
…in `test_typing` (pythonGH-111127)

(cherry picked from commit ea7c26e)

Co-authored-by: Nikita Sobolev <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Oct 20, 2023

GH-111130 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 bug and security fixes label Oct 20, 2023
@bedevere-app
Copy link

bedevere-app bot commented Oct 20, 2023

GH-111131 is a backport of this pull request to the 3.11 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.11 only security fixes label Oct 20, 2023
AlexWaygood pushed a commit that referenced this pull request Oct 20, 2023
… in `test_typing` (GH-111127) (#111130)

gh-111126: Use `isinstance` instead of `assert[Not]IsInstance` in `test_typing` (GH-111127)
(cherry picked from commit ea7c26e)

Co-authored-by: Nikita Sobolev <[email protected]>
AlexWaygood pushed a commit that referenced this pull request Oct 20, 2023
… in `test_typing` (GH-111127) (#111131)

gh-111126: Use `isinstance` instead of `assert[Not]IsInstance` in `test_typing` (GH-111127)
(cherry picked from commit ea7c26e)

Co-authored-by: Nikita Sobolev <[email protected]>
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants