Skip to content

Commit

Permalink
pythongh-121110: Temporarily Skip test_basic_multiple_interpreters_re…
Browse files Browse the repository at this point in the history
…set_each (pythongh-121236)

This will allow Py_TRACE_REFS builds to pass the test suite, until the underlying issue can be resolved.
  • Loading branch information
ericsnowcurrently authored and noahbkim committed Jul 11, 2024
1 parent 7c7c096 commit ae608af
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Lib/test/test_import/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3034,6 +3034,13 @@ def test_basic_multiple_interpreters_deleted_no_reset(self):
def test_basic_multiple_interpreters_reset_each(self):
# 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:
# * alive in 0 interpreters
# * module def may or may not be loaded already
Expand Down

0 comments on commit ae608af

Please sign in to comment.