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

Function load_tests

Lib/test/test_statistics.py:3326–3331  ·  view source on GitHub ↗

Used for doctest/unittest integration.

(loader, tests, ignore)

Source from the content-addressed store, hash-verified

3324# === Run tests ===
3325
3326def load_tests(loader, tests, ignore):
3327 """Used for doctest/unittest integration."""
3328 tests.addTests(doctest.DocTestSuite())
3329 if sys.float_repr_style == 'short':
3330 tests.addTests(doctest.DocTestSuite(statistics))
3331 return tests
3332
3333
3334if __name__ == "__main__":

Callers

nothing calls this directly

Calls 1

addTestsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…