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
  • Loading branch information
tiran committed Jan 6, 2022
1 parent 16dfabf commit c9137d4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Lib/test/test_capi.py
Expand Up @@ -933,7 +933,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 c9137d4

Please sign in to comment.