Skip to content

Commit

Permalink
bpo-46263: Fix second location that needs MALLOC_CONF on FreeBSD (GH-…
Browse files Browse the repository at this point in the history
…30440)

Automerge-Triggered-By: GH:tiran
(cherry picked from commit c9137d4)

Co-authored-by: Christian Heimes <christian@python.org>
  • Loading branch information
miss-islington and tiran committed Jan 6, 2022
1 parent b259015 commit b98730c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Lib/test/test_capi.py
Expand Up @@ -839,7 +839,11 @@ def check_pyobject_is_freed(self, func_name):
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')
Expand Down

0 comments on commit b98730c

Please sign in to comment.