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

miss-islington webhook-mailer at python.org
Thu Jan 6 14:49:13 EST 2022


https://github.com/python/cpython/commit/c9137d4b638c0699b904011cafe68895d28dd80b
commit: c9137d4b638c0699b904011cafe68895d28dd80b
branch: main
author: Christian Heimes <christian at python.org>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-01-06T11:49:03-08:00
summary:

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



Automerge-Triggered-By: GH:tiran

files:
M Lib/test/test_capi.py

diff --git a/Lib/test/test_capi.py b/Lib/test/test_capi.py
index e246c36de01cd..99263bff091be 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')



More information about the Python-checkins mailing list