From: Christian Heimes Date: Thu, 6 Jan 2022 19:49:03 +0000 (+0200) Subject: bpo-46263: Fix second location that needs MALLOC_CONF on FreeBSD (GH-30440) X-Git-Tag: v3.11.0a4~64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9137d4b638c0699b904011cafe68895d28dd80b;p=thirdparty%2FPython%2Fcpython.git bpo-46263: Fix second location that needs MALLOC_CONF on FreeBSD (GH-30440) Automerge-Triggered-By: GH:tiran --- diff --git a/Lib/test/test_capi.py b/Lib/test/test_capi.py index e246c36de01c..99263bff091b 100644 --- a/Lib/test/test_capi.py +++ b/Lib/test/test_capi.py @@ -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')