mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
[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:
parent
d23a0f2d86
commit
65b58291b0
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue