diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py index ca10a87b06130d..a26e80995fef3f 100644 --- a/Lib/test/test_typing.py +++ b/Lib/test/test_typing.py @@ -9282,5 +9282,11 @@ def test_is_not_instance_of_iterable(self): 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()