mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
gh-93096: Load doctests in test_itertools
(#131133)
This commit is contained in:
parent
48cca72a7f
commit
15a8412b5e
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 *
|
||||
|
@ -2531,7 +2532,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