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

Method test_init_global_config

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

Source from the content-addressed store, hash-verified

1010 self.check_all_configs("test_init_compat_config", api=API_COMPAT)
1011
1012 def test_init_global_config(self):
1013 preconfig = {
1014 'utf8_mode': True,
1015 }
1016 config = {
1017 'site_import': False,
1018 'bytes_warning': True,
1019 'warnoptions': ['default::BytesWarning'],
1020 'inspect': True,
1021 'interactive': True,
1022 'optimization_level': 2,
1023 'write_bytecode': False,
1024 'verbose': True,
1025 'quiet': True,
1026 'buffered_stdio': False,
1027 'remote_debug': True,
1028 'user_site_directory': False,
1029 'pathconfig_warnings': False,
1030 }
1031 self.check_all_configs("test_init_global_config", config, preconfig,
1032 api=API_COMPAT)
1033
1034 def test_init_from_config(self):
1035 preconfig = {

Callers

nothing calls this directly

Calls 1

check_all_configsMethod · 0.95

Tested by

no test coverage detected