]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-46263: Fix second location that needs MALLOC_CONF on FreeBSD (GH-30440)
authorChristian Heimes <christian@python.org>
Thu, 6 Jan 2022 19:49:03 +0000 (21:49 +0200)
committerGitHub <noreply@github.com>
Thu, 6 Jan 2022 19:49:03 +0000 (11:49 -0800)
Automerge-Triggered-By: GH:tiran
Lib/test/test_capi.py

index e246c36de01cd22c828421748b0c173a287c07da..99263bff091bebe88ee86d0c0508455cc47e016e 100644 (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')