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

Method test_preinit_dont_parse_argv

Lib/test/test_embed.py:1221–1237  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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 = {

Callers

nothing calls this directly

Calls 1

check_all_configsMethod · 0.95

Tested by

no test coverage detected