(self)
| 1219 | api=API_PYTHON) |
| 1220 | |
| 1221 | def test_preinit_dont_parse_argv(self): |
| 1222 | # -X dev must be ignored by isolated preconfiguration |
| 1223 | preconfig = { |
| 1224 | 'isolated': False, |
| 1225 | } |
| 1226 | argv = ["python3", |
| 1227 | "-E", "-I", "-P", |
| 1228 | "-X", "dev", |
| 1229 | "-X", "utf8", |
| 1230 | "script.py"] |
| 1231 | config = { |
| 1232 | 'argv': argv, |
| 1233 | 'orig_argv': argv, |
| 1234 | 'isolated': False, |
| 1235 | } |
| 1236 | self.check_all_configs("test_preinit_dont_parse_argv", config, preconfig, |
| 1237 | api=API_ISOLATED) |
| 1238 | |
| 1239 | def test_init_isolated_flag(self): |
| 1240 | config = { |
nothing calls this directly
no test coverage detected