]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-118331: Fix `test_list.ListTest.test_no_memory` under trace refs build (#130921)
authormpage <mpage@meta.com>
Thu, 6 Mar 2025 20:11:50 +0000 (12:11 -0800)
committerGitHub <noreply@github.com>
Thu, 6 Mar 2025 20:11:50 +0000 (12:11 -0800)
commit6c6600f6831aec15b2acbd7a9bb9c275bd5f4a32
tree8ed1230530f658b8b6cbfdf355d6ce909b85c139
parentc4d37eefb7b33f10f776183447af44faf8efa7f6
gh-118331: Fix `test_list.ListTest.test_no_memory` under trace refs build (#130921)

Fix `test_list.ListTest.test_no_memory` under trace refs build

Memory allocation ends up failing in _PyRefchainTrace(), which produces
different output. Assert that we don't segfault, which is the thing
we want to test and is less brittle than checking output.
Lib/test/test_list.py