]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-121832: Skip subinterpreter static type check on iOS to restore test suite...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 23 Jul 2024 22:48:02 +0000 (00:48 +0200)
committerGitHub <noreply@github.com>
Tue, 23 Jul 2024 22:48:02 +0000 (22:48 +0000)
gh-121832: Skip subinterpreter static type check on iOS to restore test suite. (GH-122150)
(cherry picked from commit 1bcc9eb8623c4e9bd8460f22b5ebae4e0cb434e4)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Lib/test/test_types.py

index 51a34271e781b8bc8b1a0408b74ffa1733520fcc..a754a5ca981479f3309d15489825c13b23675d6e 100644 (file)
@@ -1,6 +1,6 @@
 # Python test set -- part 6, built-in types
 
-from test.support import run_with_locale, cpython_only, MISSING_C_DOCSTRINGS
+from test.support import run_with_locale, is_apple_mobile, cpython_only, MISSING_C_DOCSTRINGS
 from test.test_import import no_rerun
 import collections.abc
 from collections import namedtuple, UserDict
@@ -2379,6 +2379,7 @@ class SubinterpreterTests(unittest.TestCase):
         import test.support.interpreters.channels
 
     @cpython_only
+    @unittest.skipIf(is_apple_mobile, "Fails on iOS due to test ordering; see #121832.")
     @no_rerun('channels (and queues) might have a refleak; see gh-122199')
     def test_slot_wrappers(self):
         rch, sch = interpreters.channels.create()