Perfect your code
With built-in code review tools, GitHub makes it easy to raise the quality bar before you ship. Join the 40 million developers who've merged over 200 million pull requests.
Sign up for free See pricing for teams and enterprisesbpo-36406: Handle namespace packages in doctest #12520
Conversation
This comment has been minimized.
This comment has been minimized.
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 |
This comment has been minimized.
This comment has been minimized.
Co-Authored-By: Brett Cannon <54418+brettcannon@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
@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. |
This comment has been minimized.
This comment has been minimized.
@brettcannon Ping for merge. Thanks. |
This comment has been minimized.
This comment has been minimized.
@tirkarthi thanks for the ping. I will merge this probably this week or next when I have the time. |
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Dec 13, 2019
Thanks @tirkarthi for the PR, and @brettcannon for merging it |
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Dec 13, 2019
GH-17591 is a backport of this pull request to the 3.8 branch. |
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Dec 13, 2019
GH-17592 is a backport of this pull request to the 3.7 branch. |
This comment has been minimized.
This comment has been minimized.
Thanks @brettcannon and @methane for review :) |
bpo-36406: Handle namespace packages in doctest (pythonGH-12520)
tirkarthi commentedMar 24, 2019
•
edited
Handle namespace packages in doctest where
__file__
of empty package returns Nonehttps://bugs.python.org/issue36406