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

Method _init

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

Source from the content-addressed store, hash-verified

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

Callers 1

mainMethod · 0.95

Calls 5

setup_processFunction · 0.85
strip_py_suffixFunction · 0.85
get_temp_dirFunction · 0.70
isabsMethod · 0.45
abspathMethod · 0.45

Tested by

no test coverage detected