From 5b37ef4d52924bd64c966c25e5ec1e3113389368 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Mon, 20 May 2024 14:04:17 -0400 Subject: [PATCH] Stubtest: ignore `_ios_support` --- mypy/stubtest.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mypy/stubtest.py b/mypy/stubtest.py index d78b71715159..a7cde8b8fe6c 100644 --- a/mypy/stubtest.py +++ b/mypy/stubtest.py @@ -1891,7 +1891,9 @@ class _Arguments: # typeshed added a stub for __main__, but that causes stubtest to check itself -ANNOYING_STDLIB_MODULES: typing_extensions.Final = frozenset({"antigravity", "this", "__main__"}) +ANNOYING_STDLIB_MODULES: typing_extensions.Final = frozenset( + {"antigravity", "this", "__main__", "_ios_support"} +) def test_stubs(args: _Arguments, use_builtins_fixtures: bool = False) -> int: