bpo-46263: Fix second location that needs MALLOC_CONF on FreeBSD (GH-30440)

Automerge-Triggered-By: GH:tiran
This commit is contained in:
Christian Heimes 2022-01-06 21:49:03 +02:00 committed by GitHub
parent 16dfabf75c
commit c9137d4b63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -933,7 +933,11 @@ class PyMemDebugTests(unittest.TestCase):
except _testcapi.error:
os._exit(1)
''')
assert_python_ok('-c', code, PYTHONMALLOC=self.PYTHONMALLOC)
assert_python_ok(
'-c', code,
PYTHONMALLOC=self.PYTHONMALLOC,
MALLOC_CONF="junk:false",
)
def test_pyobject_null_is_freed(self):
self.check_pyobject_is_freed('check_pyobject_null_is_freed')