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

Function load_tests

Lib/test/test_statistics.py:3328–3333  ·  view source on GitHub ↗

Used for doctest/unittest integration.

(loader, tests, ignore)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

addTestsMethod · 0.80

Tested by

no test coverage detected