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

Function setUpModule

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

Source from the content-addressed store, hash-verified

5997 return tests
5998
5999def setUpModule():
6000 init(C)
6001 init(P)
6002 global TEST_ALL
6003 TEST_ALL = ARITH if ARITH is not None else is_resource_enabled('decimal')
6004
6005def tearDownModule():
6006 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

Used in the wild real call sites across dependent graphs

searching dependent graphs…