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

Function setUpModule

Lib/test/test_decimal.py:5982–5986  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5980 return tests
5981
5982def setUpModule():
5983 init(C)
5984 init(P)
5985 global TEST_ALL
5986 TEST_ALL = ARITH if ARITH is not None else is_resource_enabled('decimal')
5987
5988def tearDownModule():
5989 if C: C.setcontext(ORIGINAL_CONTEXT[C].copy())

Callers

nothing calls this directly

Calls 2

is_resource_enabledFunction · 0.90
initFunction · 0.70

Tested by

no test coverage detected