]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-118846: Fix PGO tests in free-threaded build (#118862)
authorSam Gross <colesbury@gmail.com>
Thu, 9 May 2024 20:06:20 +0000 (16:06 -0400)
committerGitHub <noreply@github.com>
Thu, 9 May 2024 20:06:20 +0000 (16:06 -0400)
commit1b1db2fd9a531e26b79b34667bccfb938c4d184d
treed01de88ac90ec05ed5c86fa17f5fc07ce86f0e0a
parent71cc0651e79041abd648595f3030dfa41009137a
gh-118846: Fix PGO tests in free-threaded build (#118862)

Avoid immortalizing objects in tests that verify garbage collection of
classes or modules.

This fixes test_ordered_dict and test_struct.
Lib/test/test_ordered_dict.py
Lib/test/test_struct.py