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

Function setUp

Lib/test/test_decimal.py:5985–5987  ·  view source on GitHub ↗
(slf, mod=mod)

Source from the content-addressed store, hash-verified

5983 if not mod:
5984 continue
5985 def setUp(slf, mod=mod):
5986 sys.modules['decimal'] = mod
5987 init(mod)
5988 def tearDown(slf, mod=mod):
5989 sys.modules['decimal'] = orig_sys_decimal
5990 mod.setcontext(ORIGINAL_CONTEXT[mod].copy())

Callers

nothing calls this directly

Calls 1

initFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…