(self)
| 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") |
nothing calls this directly
no test coverage detected