◐ Shell
clean mode source ↗

bpo-36142: Add _PyMem_GetDebugAllocatorsName() by vstinner · Pull Request #12185 · python/cpython

Expand Up @@ -336,6 +336,7 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase): 'legacy_windows_fs_encoding': 0, 'legacy_windows_stdio': 0, }) DEBUG_ALLOCATOR = 'pymalloc_debug' if support.with_pymalloc() else 'malloc_debug'
# main config COPY_MAIN_CONFIG = ( Expand Down Expand Up @@ -588,15 +589,15 @@ def test_init_env(self):
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)
Expand Down