]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-121110: Temporarily Skip test_basic_multiple_interpreters_reset_each (gh...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 1 Jul 2024 18:23:35 +0000 (20:23 +0200)
committerGitHub <noreply@github.com>
Mon, 1 Jul 2024 18:23:35 +0000 (18:23 +0000)
This will allow Py_TRACE_REFS builds to pass the test suite, until the underlying issue can be resolved.

(cherry picked from commit 9bcb7d8c6f8277c4e76145ec4c834213167e3387, AKA gh-121236)

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Lib/test/test_import/__init__.py

index f9e8558d1a71c80bddd91140423b599be2c192d7..99324838355056253e329d80494e5ef112863029 100644 (file)
@@ -3053,6 +3053,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