From ca8d19ac042d8547c5d2bdb00dd387f4b3b18ec8 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Tue, 23 Jul 2024 14:30:15 +0800 Subject: [PATCH] Skip subinterpreter static type check on iOS to restore test suite. --- Lib/test/test_types.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/test/test_types.py b/Lib/test/test_types.py index 38a98828085e2f9..67f03919457c2fe 100644 --- a/Lib/test/test_types.py +++ b/Lib/test/test_types.py @@ -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 import collections.abc from collections import namedtuple, UserDict import copy @@ -16,7 +16,6 @@ import weakref import typing - T = typing.TypeVar("T") class Example: @@ -2358,6 +2357,7 @@ def setUpClass(cls): import test.support.interpreters.channels @cpython_only + @unittest.skipIf(is_apple_mobile, "Fails on iOS due to test ordering; see #121832.") def test_slot_wrappers(self): rch, sch = interpreters.channels.create()