Skip to content

Commit e8a2630

Browse files
authored
Stubtest: ignore _ios_support (#17270)
Trying to import this module on py313 raises RuntimeError on Windows, and it doesn't seem important
1 parent ac8a5a7 commit e8a2630

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mypy/stubtest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1891,7 +1891,9 @@ class _Arguments:
18911891

18921892

18931893
# typeshed added a stub for __main__, but that causes stubtest to check itself
1894-
ANNOYING_STDLIB_MODULES: typing_extensions.Final = frozenset({"antigravity", "this", "__main__"})
1894+
ANNOYING_STDLIB_MODULES: typing_extensions.Final = frozenset(
1895+
{"antigravity", "this", "__main__", "_ios_support"}
1896+
)
18951897

18961898

18971899
def test_stubs(args: _Arguments, use_builtins_fixtures: bool = False) -> int:

0 commit comments

Comments
 (0)