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

Method create_ns

Lib/test/test_runpy.py:162–163  ·  view source on GitHub ↗
(init_globals)

Source from the content-addressed store, hash-verified

160 "__loader__": None,
161 })
162 def create_ns(init_globals):
163 return _run_code(example_source, {}, init_globals)
164 self.check_code_execution(create_ns, expected_ns)
165
166 def test_run_module_code(self):

Callers

nothing calls this directly

Calls 2

_run_codeFunction · 0.90
_run_module_codeFunction · 0.90

Tested by

no test coverage detected