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

Method py_ini

Lib/test/test_launcher.py:264–269  ·  view source on GitHub ↗
(self, content)

Source from the content-addressed store, hash-verified

262 return data
263
264 def py_ini(self, content):
265 local_appdata = os.environ.get("LOCALAPPDATA")
266 if not local_appdata:
267 raise unittest.SkipTest("LOCALAPPDATA environment variable is "
268 "missing or empty")
269 return PreservePyIni(Path(local_appdata) / "py.ini", content)
270
271 @contextlib.contextmanager
272 def script(self, content, encoding="utf-8"):

Callers 15

test_py_defaultMethod · 0.80
test_py2_defaultMethod · 0.80
test_py3_defaultMethod · 0.80
test_py_shebangMethod · 0.80
test_python_shebangMethod · 0.80
test_py2_shebangMethod · 0.80
test_py3_shebangMethod · 0.80
test_py_shebang_nlMethod · 0.80
test_py2_shebang_nlMethod · 0.80
test_py3_shebang_nlMethod · 0.80

Calls 3

PathClass · 0.90
PreservePyIniClass · 0.85
getMethod · 0.45

Tested by

no test coverage detected