[3.13] gh-93096: Load doctests in test_itertools (GH-131133) (#131136)

gh-93096: Load doctests in `test_itertools` (GH-131133)
(cherry picked from commit 15a8412b5e)

Co-authored-by: donBarbos <donbarbos@proton.me>
This commit is contained in:
Miss Islington (bot) 2025-03-12 09:03:24 +01:00 committed by GitHub
parent d23a0f2d86
commit 65b58291b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,6 @@
import doctest
import unittest
import itertools
from test import support
from test.support import threading_helper, script_helper
from itertools import *
@ -2844,7 +2845,7 @@ class SizeofTest(unittest.TestCase):
def load_tests(loader, tests, pattern):
tests.addTest(doctest.DocTestSuite())
tests.addTest(doctest.DocTestSuite(itertools))
return tests