-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Rename redundant enum tests so that they run #102535
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.
Thanks, good spot!
Good catch! |
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.
I don't think that the change is correct.
Please rename them as the test_doc_3
and test_doc_4
instead of removing them.
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
@hauntsaninja |
As @corona10 said, let's rename them to |
Thanks for the feedback guys:) Added the tests back and renamed them For the bot: |
Thanks @JosephSBoyle for the PR, and @hauntsaninja for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11. |
Sorry, @JosephSBoyle and @hauntsaninja, I could not cleanly backport this to |
GH-102704 is a backport of this pull request to the 3.11 branch. |
(cherry picked from commit a028778) Co-authored-by: JosephSBoyle <[email protected]>
JosephSBoyle, thanks again! |
(cherry picked from commit a028778) Co-authored-by: JosephSBoyle <[email protected]>
No issue for this, as I believe that it's trivial.
There are three methods named
test_doc_1
in this class and since only one will ever be executed we should delete two.I don't have a particular preference for which but it seems natural to leave the
Single
Double
enum examples.