MCPcopy Index your code
hub / github.com/python/cpython / load_tests

Function load_tests

Lib/test/test_builtin.py:3082–3086  ·  view source on GitHub ↗
(loader, tests, pattern)

Source from the content-addressed store, hash-verified

3080
3081
3082def load_tests(loader, tests, pattern):
3083 from doctest import DocTestSuite
3084 if sys.float_repr_style == 'short':
3085 tests.addTest(DocTestSuite(builtins))
3086 return tests
3087
3088if __name__ == "__main__":
3089 unittest.main()

Callers

nothing calls this directly

Calls 2

DocTestSuiteFunction · 0.90
addTestMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…