Skip to content

Commit 9bcb7d8

Browse files
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.
1 parent 91313af commit 9bcb7d8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Lib/test/test_import/__init__.py

+7
Original file line numberDiff line numberDiff line change
@@ -3034,6 +3034,13 @@ def test_basic_multiple_interpreters_deleted_no_reset(self):
30343034
def test_basic_multiple_interpreters_reset_each(self):
30353035
# resetting between each interpreter
30363036

3037+
if Py_TRACE_REFS:
3038+
# It's a Py_TRACE_REFS build.
3039+
# This test breaks interpreter isolation a little,
3040+
# which causes problems on Py_TRACE_REF builds.
3041+
# See gh-121110.
3042+
raise unittest.SkipTest('crashes on Py_TRACE_REFS builds')
3043+
30373044
# At this point:
30383045
# * alive in 0 interpreters
30393046
# * module def may or may not be loaded already

0 commit comments

Comments
 (0)