From e8a26308d5d06925cf769b62f41ef2e4bc546ada Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Mon, 20 May 2024 15:54:27 -0400 Subject: [PATCH] Stubtest: ignore `_ios_support` (#17270) Trying to import this module on py313 raises RuntimeError on Windows, and it doesn't seem important --- 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: