From 92a7b4bdc48b0226c8d2af9f6c3c5476378b2199 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Thu, 6 Jan 2022 20:21:44 +0100 Subject: [PATCH] bpo-46263: Fix second location that needs MALLOC_CONF on FreeBSD --- 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 e246c36de01cd22..99263bff091bebe 100644 --- a/Lib/test/test_capi.py +++ b/Lib/test/test_capi.py @@ -933,7 +933,11 @@ def check_pyobject_is_freed(self, func_name): 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')