Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-93096: Remove run block inheapq
#131130
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
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.
LGTM
I don't think this addresses any known or real user problem. It just makes life more difficult for the module maintainer. |
This looks like redundant code. And we already have more general way to run doctest (via |
Uh oh!
There was an error while loading.Please reload this page.
we can use next command for doctests:
./python -m doctest Lib/heapq.py -v
and we already loading doctest in next line:
cpython/Lib/test/test_heapq.py
Lines 30 to 45 inebc24d5