diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py index ca10a87b061..a26e80995fe 100644 --- a/Lib/test/test_typing.py +++ b/Lib/test/test_typing.py @@ -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()