Skip to content

Commit b98730c

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 b259015 commit b98730c

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
@@ -839,7 +839,11 @@ def check_pyobject_is_freed(self, func_name):
839839
except _testcapi.error:
840840
os._exit(1)
841841
''')
842-
assert_python_ok('-c', code, PYTHONMALLOC=self.PYTHONMALLOC)
842+
assert_python_ok(
843+
'-c', code,
844+
PYTHONMALLOC=self.PYTHONMALLOC,
845+
MALLOC_CONF="junk:false",
846+
)
843847

844848
def test_pyobject_null_is_freed(self):
845849
self.check_pyobject_is_freed('check_pyobject_null_is_freed')

0 commit comments

Comments
 (0)