]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-121110: Temporarily Skip test_basic_multiple_interpreters_reset_each (gh-121236)
authorEric Snow <ericsnowcurrently@gmail.com>
Mon, 1 Jul 2024 17:58:25 +0000 (11:58 -0600)
committerGitHub <noreply@github.com>
Mon, 1 Jul 2024 17:58:25 +0000 (17:58 +0000)
This will allow Py_TRACE_REFS builds to pass the test suite, until the underlying issue can be resolved.

Lib/test/test_import/__init__.py

index e29097baaf53ae1c25f6e369c97b8b1530c8aae4..c10f689c4ea34bd7370e35d410174eec7fb1646a 100644 (file)
@@ -3034,6 +3034,13 @@ class SinglephaseInitTests(unittest.TestCase):
     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