mirror of
https://github.com/python/cpython.git
synced 2025-08-09 19:38:42 +00:00
[3.12] gh-112155: Run typing.py
doctests during tests (GH-112156) (#112230)
This commit is contained in:
parent
0ea645445d
commit
919be35eae
1 changed files with 6 additions and 0 deletions
|
@ -9282,5 +9282,11 @@ class TypeIterationTests(BaseTestCase):
|
|||
self.assertNotIsInstance(type_to_test, collections.abc.Iterable)
|
||||
|
||||
|
||||
def load_tests(loader, tests, pattern):
|
||||
import doctest
|
||||
tests.addTests(doctest.DocTestSuite(typing))
|
||||
return tests
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue