-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
gh-99051: remove duplicated test from test_weakref
#99052
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
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.
Given that all Python 3 classes inherit from object
by default, this looks good.
A slight comment would be maybe we want to update the test names since we now jump from test_callback_in_cycle_1
to test_callback_in_cycle_3
.
Note that this comment in test_callback_in_cycle_3 becomes obsolete if we merge this as it is now: "# This one broke the first patch that fixed the last two." Can you think of more meaningful suffixes for these test names than a number? Also, maybe remove the |
Yes, this is a good suggestion. Thank you.
I would prefer to keep it as-is, because there's no semantical difference. |
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.
Looks good, just one nit about the comment.
Co-authored-by: Irit Katriel <[email protected]>
Thanks @sobolevn for the PR, and @iritkatriel for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11. |
GH-99170 is a backport of this pull request to the 3.11 branch. |
GH-99171 is a backport of this pull request to the 3.10 branch. |
…99052) (cherry picked from commit 8463cb5) Co-authored-by: Nikita Sobolev <[email protected]>
…99052) (cherry picked from commit 8463cb5) Co-authored-by: Nikita Sobolev <[email protected]>
Thanks again! 👍 |
(cherry picked from commit 8463cb5) Co-authored-by: Nikita Sobolev <[email protected]>
(cherry picked from commit 8463cb5) Co-authored-by: Nikita Sobolev <[email protected]>
test_weakref
contains two identical test cases #99051