diff options
| author | Christian Heimes <christian@python.org> | 2022-01-06 19:49:03 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-06 19:49:03 (GMT) |
| commit | c9137d4b638c0699b904011cafe68895d28dd80b (patch) | |
| tree | 0be601c86a51f72a7c1eefb13e90ac4853249972 /Lib/test/test_capi.py | |
| parent | 16dfabf75cd0786781bcd8ded6a12591fb893d68 (diff) | |
| download | cpython-c9137d4b638c0699b904011cafe68895d28dd80b.zip cpython-c9137d4b638c0699b904011cafe68895d28dd80b.tar.gz cpython-c9137d4b638c0699b904011cafe68895d28dd80b.tar.bz2 | |
bpo-46263: Fix second location that needs MALLOC_CONF on FreeBSD (GH-30440)
Automerge-Triggered-By: GH:tiran
Diffstat (limited to 'Lib/test/test_capi.py')
| -rw-r--r-- | Lib/test/test_capi.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Lib/test/test_capi.py b/Lib/test/test_capi.py index e246c36..99263bf 100644 --- a/Lib/test/test_capi.py +++ b/Lib/test/test_capi.py @@ -933,7 +933,11 @@ class PyMemDebugTests(unittest.TestCase): 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') |
