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

Method test_initconfig_api

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

Source from the content-addressed store, hash-verified

1842
1843 @unittest.skipIf(support.check_bolt_optimized, "segfaults on BOLT instrumented binaries")
1844 def test_initconfig_api(self):
1845 preconfig = {
1846 'configure_locale': True,
1847 }
1848 config = {
1849 'pycache_prefix': 'conf_pycache_prefix',
1850 'xoptions': {'faulthandler': True},
1851 'hash_seed': 10,
1852 'use_hash_seed': True,
1853 'perf_profiling': 2,
1854 }
1855 config_dev_mode(preconfig, config)
1856 # Temporarily enable ignore_stderr=True to ignore warnings on JIT builds
1857 # See gh-126255 for more information
1858 self.check_all_configs("test_initconfig_api", config, preconfig,
1859 api=API_ISOLATED, ignore_stderr=True)
1860
1861 def test_initconfig_get_api(self):
1862 self.run_embedded_interpreter("test_initconfig_get_api")

Callers

nothing calls this directly

Calls 2

check_all_configsMethod · 0.95
config_dev_modeFunction · 0.85

Tested by

no test coverage detected