mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +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 doctest
|
||||||
import unittest
|
import unittest
|
||||||
|
import itertools
|
||||||
from test import support
|
from test import support
|
||||||
from test.support import threading_helper, script_helper
|
from test.support import threading_helper, script_helper
|
||||||
from itertools import *
|
from itertools import *
|
||||||
|
@ -2531,7 +2532,7 @@ class SizeofTest(unittest.TestCase):
|
||||||
|
|
||||||
|
|
||||||
def load_tests(loader, tests, pattern):
|
def load_tests(loader, tests, pattern):
|
||||||
tests.addTest(doctest.DocTestSuite())
|
tests.addTest(doctest.DocTestSuite(itertools))
|
||||||
return tests
|
return tests
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue