gh-93096: Load doctests in test_itertools#131133
Conversation
|
I found |
|
I modified the doctest with the change below, ran diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.c
index 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',)
|
|
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 commit 15a8412) Co-authored-by: donBarbos <donbarbos@proton.me>
|
GH-131136 is a backport of this pull request to the 3.13 branch. |
(cherry picked from commit 15a8412) Co-authored-by: donBarbos <donbarbos@proton.me>
|
GH-131137 is a backport of this pull request to the 3.12 branch. |
We have one doctest in
Modules/itertoolsmodule.cand none intest_itertolls.pyso this is definitely a bug like issue #131069