Skip to content

Commit 3cb64ed

Browse files
bpo-46263: Fix second location that needs MALLOC_CONF on FreeBSD (GH-30440)
Automerge-Triggered-By: GH:tiran (cherry picked from commit c9137d4) Co-authored-by: Christian Heimes <christian@python.org>
1 parent b951dec commit 3cb64ed

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Lib/test/test_capi.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,11 @@ def check_pyobject_is_freed(self, func_name):
926926
except _testcapi.error:
927927
os._exit(1)
928928
''')
929-
assert_python_ok('-c', code, PYTHONMALLOC=self.PYTHONMALLOC)
929+
assert_python_ok(
930+
'-c', code,
931+
PYTHONMALLOC=self.PYTHONMALLOC,
932+
MALLOC_CONF="junk:false",
933+
)
930934

931935
def test_pyobject_null_is_freed(self):
932936
self.check_pyobject_is_freed('check_pyobject_null_is_freed')

0 commit comments

Comments
 (0)