Skip to content

Commit fc0b1cb

Browse files
[3.13] gh-121110: Temporarily Skip test_basic_multiple_interpreters_reset_each (gh-121238)
This will allow Py_TRACE_REFS builds to pass the test suite, until the underlying issue can be resolved. (cherry picked from commit 9bcb7d8, AKA gh-121236) Co-authored-by: Eric Snow <[email protected]>
1 parent 931c168 commit fc0b1cb

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
@@ -3053,6 +3053,13 @@ def test_basic_multiple_interpreters_deleted_no_reset(self):
30533053
def test_basic_multiple_interpreters_reset_each(self):
30543054
# resetting between each interpreter
30553055

3056+
if Py_TRACE_REFS:
3057+
# It's a Py_TRACE_REFS build.
3058+
# This test breaks interpreter isolation a little,
3059+
# which causes problems on Py_TRACE_REF builds.
3060+
# See gh-121110.
3061+
raise unittest.SkipTest('crashes on Py_TRACE_REFS builds')
3062+
30563063
# At this point:
30573064
# * alive in 0 interpreters
30583065
# * module def may or may not be loaded already

0 commit comments

Comments
 (0)