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

Method test_init_dev_mode

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

Source from the content-addressed store, hash-verified

1190 api=API_COMPAT)
1191
1192 def test_init_dev_mode(self):
1193 preconfig = {}
1194 config = {
1195 'faulthandler': True,
1196 'dev_mode': True,
1197 'warnoptions': ['default'],
1198 }
1199 config_dev_mode(preconfig, config)
1200 self.check_all_configs("test_init_dev_mode", config, preconfig,
1201 api=API_PYTHON)
1202
1203 def test_preinit_parse_argv(self):
1204 # Pre-initialize implicitly using argv: make sure that -X dev

Callers

nothing calls this directly

Calls 2

check_all_configsMethod · 0.95
config_dev_modeFunction · 0.85

Tested by

no test coverage detected