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

Method _init

Lib/test/libregrtest/main.py:737–745  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

735 self._execute_python(cmd, environ)
736
737 def _init(self):
738 setup_process()
739
740 if self.junit_filename and not os.path.isabs(self.junit_filename):
741 self.junit_filename = os.path.abspath(self.junit_filename)
742
743 strip_py_suffix(self.cmdline_args)
744
745 self._tmp_dir = get_temp_dir(self._tmp_dir)
746
747 @property
748 def tmp_dir(self) -> StrPath:

Callers 1

mainMethod · 0.95

Calls 3

setup_processFunction · 0.85
strip_py_suffixFunction · 0.85
get_temp_dirFunction · 0.70

Tested by

no test coverage detected