(self, content)
| 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"): |
no test coverage detected