-
-
Notifications
You must be signed in to change notification settings - Fork 31.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-112414: Add additional unit tests for calling repr()
on a namespace package
#112475
Conversation
…namespace package
Removing that test makes sense, since the test you add here covers that bit and the former is a bit out of place. |
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.
mostly LGTM
When you're done making the requested changes, leave the comment: |
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.
Also, s/"/'/g
Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
…rily Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Thanks! I have made the requested changes; please review again |
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.
LGTM
Thanks @AlexWaygood for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
…namespace package (pythonGH-112475) (cherry picked from commit cf20540) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
GH-112480 is a backport of this pull request to the 3.12 branch. |
Thanks for working on this, @AlexWaygood! |
You're very welcome! :D |
…namespace package (python#112475) Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
…namespace package (python#112475) Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Addressing @ericsnowcurrently's post-merge review at #112425 (comment). I've verified locally that the second test here fails if you build CPython with e954ac7 (the commit prior to 0622839).
@ericsnowcurrently, would you also like me to remove the test I added in 0622839, or is that okay to stay? :)
ModuleType.__repr__
can fail on py312+ #112414