gh-121110: Temporarily Skip test_basic_multiple_interpreters_reset_each (gh-121236)

This will allow Py_TRACE_REFS builds to pass the test suite, until the underlying issue can be resolved.
This commit is contained in:
Eric Snow 2024-07-01 11:58:25 -06:00 committed by GitHub
parent 91313afdb3
commit 9bcb7d8c6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 0 deletions

View File

@ -3034,6 +3034,13 @@ class SinglephaseInitTests(unittest.TestCase):
def test_basic_multiple_interpreters_reset_each(self): def test_basic_multiple_interpreters_reset_each(self):
# resetting between each interpreter # resetting between each interpreter
if Py_TRACE_REFS:
# It's a Py_TRACE_REFS build.
# This test breaks interpreter isolation a little,
# which causes problems on Py_TRACE_REF builds.
# See gh-121110.
raise unittest.SkipTest('crashes on Py_TRACE_REFS builds')
# At this point: # At this point:
# * alive in 0 interpreters # * alive in 0 interpreters
# * module def may or may not be loaded already # * module def may or may not be loaded already