Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
gh-93096: Load doctests intest_itertools#131133
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
donbarbos commentedMar 12, 2025
I found |
vstinner left a 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.
LGTM
vstinner commentedMar 12, 2025
I modified the doctest with the change below, ran diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.cindex 3e425ee5f92..092316cf255 100644--- a/Modules/itertoolsmodule.c+++ b/Modules/itertoolsmodule.c@@ -124,7 +124,7 @@ or when the input iterable is exhausted. >>> for batch in batched('ABCDEFG', 3): ... print(batch) ...- ('A', 'B', 'C')+ ('Aa', 'B', 'C') ('D', 'E', 'F') ('G',) |
15a8412 intopython:mainUh oh!
There was an error while loading.Please reload this page.
Thanks@donbarbos for the PR, and@vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
(cherry picked from commit15a8412)Co-authored-by: donBarbos <donbarbos@proton.me>
GH-131136 is a backport of this pull request to the3.13 branch. |
(cherry picked from commit15a8412)Co-authored-by: donBarbos <donbarbos@proton.me>
GH-131137 is a backport of this pull request to the3.12 branch. |
Uh oh!
There was an error while loading.Please reload this page.
We have one doctest in
Modules/itertoolsmodule.cand none intest_itertolls.pyso this is definitely a bug like issue#131069