Skip to content

Commit 15a8412

Browse files
authored
gh-93096: Load doctests in test_itertools (#131133)
1 parent 48cca72 commit 15a8412

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 *
@@ -2531,7 +2532,7 @@ def test_permutations_sizeof(self):
25312532

25322533

25332534
def load_tests(loader, tests, pattern):
2534-
tests.addTest(doctest.DocTestSuite())
2535+
tests.addTest(doctest.DocTestSuite(itertools))
25352536
return tests
25362537

25372538

0 commit comments

Comments
 (0)