summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_typing.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_typing.py')
-rw-r--r--Lib/test/test_typing.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py
index 1e812e1..8681e7e 100644
--- a/Lib/test/test_typing.py
+++ b/Lib/test/test_typing.py
@@ -9464,5 +9464,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()