From 3cb64ede57bba260228864150123014fc682167e Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Thu, 6 Jan 2022 12:12:04 -0800 Subject: bpo-46263: Fix second location that needs MALLOC_CONF on FreeBSD (GH-30440) Automerge-Triggered-By: GH:tiran (cherry picked from commit c9137d4b638c0699b904011cafe68895d28dd80b) Co-authored-by: Christian Heimes --- Lib/test/test_capi.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Lib/test/test_capi.py b/Lib/test/test_capi.py index 6453f76..ccb9d53 100644 --- a/Lib/test/test_capi.py +++ b/Lib/test/test_capi.py @@ -926,7 +926,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') -- cgit v0.12