MCPcopy Index your code
hub / github.com/RustPython/RustPython / load_tests

Function load_tests

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

Source from the content-addressed store, hash-verified

3030
3031
3032def load_tests(loader, tests, pattern):
3033 from doctest import DocTestSuite
3034 if sys.float_repr_style == 'short':
3035 tests.addTest(DocTestSuite(builtins))
3036 return tests
3037
3038if __name__ == "__main__":
3039 unittest.main()

Callers

nothing calls this directly

Calls 2

DocTestSuiteFunction · 0.90
addTestMethod · 0.80

Tested by

no test coverage detected