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

Function setUp

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

Source from the content-addressed store, hash-verified

5966 if not mod:
5967 continue
5968 def setUp(slf, mod=mod):
5969 sys.modules['decimal'] = mod
5970 init(mod)
5971 def tearDown(slf, mod=mod):
5972 sys.modules['decimal'] = orig_sys_decimal
5973 mod.setcontext(ORIGINAL_CONTEXT[mod].copy())

Callers

nothing calls this directly

Calls 1

initFunction · 0.70

Tested by

no test coverage detected