Skip to content

Commit

Permalink
Stubtest: ignore _ios_support (#17270)
Browse files Browse the repository at this point in the history
Trying to import this module on py313 raises RuntimeError on Windows,
and it doesn't seem important
  • Loading branch information
AlexWaygood authored May 20, 2024
1 parent ac8a5a7 commit e8a2630
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mypy/stubtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e8a2630

Please sign in to comment.