]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-46263: Fix second location that needs MALLOC_CONF on FreeBSD (GH-30440)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 6 Jan 2022 20:12:04 +0000 (12:12 -0800)
committerGitHub <noreply@github.com>
Thu, 6 Jan 2022 20:12:04 +0000 (12:12 -0800)
Automerge-Triggered-By: GH:tiran
(cherry picked from commit c9137d4b638c0699b904011cafe68895d28dd80b)

Co-authored-by: Christian Heimes <christian@python.org>
Lib/test/test_capi.py

index 6453f760a846e7b38b5332bbd5ea96816ef6be33..ccb9d5383d6bed787a4265a9184021cb54082bfd 100644 (file)
@@ -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')