bpo-36142: Add _PyMem_GetDebugAllocatorsName() by vstinner · Pull Request #12185 · python/cpython
# main config COPY_MAIN_CONFIG = (
def test_init_env_dev_mode(self): config = dict(self.INIT_ENV_CONFIG, allocator='debug', allocator=self.DEBUG_ALLOCATOR, dev_mode=1) self.check_config("init_env_dev_mode", config)
def test_init_dev_mode(self): config = { 'dev_mode': 1, 'faulthandler': 1, 'allocator': 'debug', 'allocator': self.DEBUG_ALLOCATOR, } self.check_config("init_dev_mode", config)