Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
gh-112155: Run typing.py doctests during tests
  • Loading branch information
sobolevn committed Nov 16, 2023
commit 66d7e32f15baa6ad4ae8719e6d0486e647d56610
6 changes: 6 additions & 0 deletions Lib/test/test_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -9464,5 +9464,11 @@ def test_is_not_instance_of_iterable(self):
self.assertNotIsInstance(type_to_test, collections.abc.Iterable)


def load_tests(loader, tests, ignore):
Comment thread
AlexWaygood marked this conversation as resolved.
Outdated
import doctest
tests.addTests(doctest.DocTestSuite(typing))
return tests


if __name__ == '__main__':
main()