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

Function load_tests

Lib/test/test_math.py:2945–2948  ·  view source on GitHub ↗
(loader, tests, pattern)

Source from the content-addressed store, hash-verified

2943
2944
2945def load_tests(loader, tests, pattern):
2946 from doctest import DocFileSuite
2947 tests.addTest(DocFileSuite(os.path.join("mathdata", "ieee754.txt")))
2948 return tests
2949
2950if __name__ == '__main__':
2951 unittest.main()

Callers

nothing calls this directly

Calls 3

DocFileSuiteFunction · 0.90
addTestMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected