]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-118846: Fix free-threading test failures when run sequentially (#118864)
authorSam Gross <colesbury@gmail.com>
Fri, 10 May 2024 20:29:29 +0000 (16:29 -0400)
committerGitHub <noreply@github.com>
Fri, 10 May 2024 20:29:29 +0000 (16:29 -0400)
commitb309c8ebff011f27012367b046ff92eecbdd68a5
tree272bfaeb2fe212767357c40423f54e5e92b31d24
parentaa36f83c1670f1e41fa9432a20e5c4a88ee9012c
gh-118846: Fix free-threading test failures when run sequentially (#118864)

The free-threaded build currently immortalizes some objects once the
first thread is started. This can lead to test failures depending on the
order in which tests are run. This PR addresses those failures by
suppressing immortalization or skipping the affected tests.
Lib/test/seq_tests.py
Lib/test/test_capi/test_misc.py
Lib/test/test_descr.py
Lib/test/test_gc.py
Lib/test/test_inspect/test_inspect.py
Lib/test/test_module/__init__.py
Lib/test/test_trace.py
Lib/test/test_zoneinfo/test_zoneinfo.py