-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-36406: Handle namespace packages in doctest #12520
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
Note to self and reviewer : I have originally added a fix to handle filename to None and finder is also documented to accept None. But the previous code seems to always default to |
Co-Authored-By: Brett Cannon <[email protected]>
@warsaw anything to say before this gets merged? @tirkarthi if Barry doesn't say anything in a week just ping me and I will merge this. |
@brettcannon Ping for merge. Thanks. |
@tirkarthi thanks for the ping. I will merge this probably this week or next when I have the time. |
Thanks @tirkarthi for the PR, and @brettcannon for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8. |
(cherry picked from commit 8289e27) Co-authored-by: Xtreak <[email protected]>
GH-17591 is a backport of this pull request to the 3.8 branch. |
(cherry picked from commit 8289e27) Co-authored-by: Xtreak <[email protected]>
GH-17592 is a backport of this pull request to the 3.7 branch. |
(cherry picked from commit 8289e27) Co-authored-by: Xtreak <[email protected]>
(cherry picked from commit 8289e27) Co-authored-by: Xtreak <[email protected]>
Thanks @brettcannon and @methane for review :) |
Handle namespace packages in doctest where
__file__
of empty package returns Nonehttps://bugs.python.org/issue36406