Skip to content

Commit 65b5829

Browse files
[3.13] pythongh-93096: Load doctests in test_itertools (pythonGH-131133) (python#131136)
pythongh-93096: Load doctests in `test_itertools` (pythonGH-131133) (cherry picked from commit 15a8412) Co-authored-by: donBarbos <donbarbos@proton.me>
1 parent d23a0f2 commit 65b5829

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/test/test_itertools.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import doctest
22
import unittest
3+
import itertools
34
from test import support
45
from test.support import threading_helper, script_helper
56
from itertools import *
@@ -2844,7 +2845,7 @@ def test_permutations_sizeof(self):
28442845

28452846

28462847
def load_tests(loader, tests, pattern):
2847-
tests.addTest(doctest.DocTestSuite())
2848+
tests.addTest(doctest.DocTestSuite(itertools))
28482849
return tests
28492850

28502851

0 commit comments

Comments
 (0)