From bde40dfde401c8a0e2e07304a6cbab984aefeef9 Mon Sep 17 00:00:00 2001 From: Eric Snow Date: Mon, 1 Jul 2024 11:32:09 -0600 Subject: [PATCH] Skip test_basic_multiple_interpreters_reset_each, for now. --- Lib/test/test_import/__init__.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Lib/test/test_import/__init__.py b/Lib/test/test_import/__init__.py index e29097baaf53ae..c10f689c4ea34b 100644 --- a/Lib/test/test_import/__init__.py +++ b/Lib/test/test_import/__init__.py @@ -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