Skip to content

Commit c9137d4

Browse files
authored
bpo-46263: Fix second location that needs MALLOC_CONF on FreeBSD (GH-30440)
Automerge-Triggered-By: GH:tiran
1 parent 16dfabf commit c9137d4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Lib/test/test_capi.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,11 @@ def check_pyobject_is_freed(self, func_name):
933933
except _testcapi.error:
934934
os._exit(1)
935935
''')
936-
assert_python_ok('-c', code, PYTHONMALLOC=self.PYTHONMALLOC)
936+
assert_python_ok(
937+
'-c', code,
938+
PYTHONMALLOC=self.PYTHONMALLOC,
939+
MALLOC_CONF="junk:false",
940+
)
937941

938942
def test_pyobject_null_is_freed(self):
939943
self.check_pyobject_is_freed('check_pyobject_null_is_freed')

0 commit comments

Comments
 (0)