-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-106197: Deduplicate tests in test_buffer
#106198
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.
One key difference between the tests is the order of inheritance, e.g. class B(A, bytearray):
vs class B(bytearray, A):
, and likewise for the C
class. Is it worth mentioning this in a comment at the beginning of test_multiple_inheritance_buffer_last_raising()
, so that future readers will spot the difference quickly?
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, glad the test passed
Thanks @sobolevn for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
GH-106206 is a backport of this pull request to the 3.12 branch. |
(cherry picked from commit c283a0c) Co-authored-by: Nikita Sobolev <[email protected]>
…6206) gh-106197: Deduplicate tests in `test_buffer` (GH-106198) (cherry picked from commit c283a0c) Co-authored-by: Nikita Sobolev <[email protected]>
test_multiple_inheritance_buffer_last
is duplicated intest_buffer
#106197