Skip to content

Support in/not in tests on sys.platform - #21913

Open
JelleZijlstra wants to merge 1 commit into
python:masterfrom
JelleZijlstra:platformin
Open

Support in/not in tests on sys.platform#21913
JelleZijlstra wants to merge 1 commit into
python:masterfrom
JelleZijlstra:platformin

Conversation

@JelleZijlstra

Copy link
Copy Markdown
Member

This is proposed for the spec in python/typing#2173. It is trivial to support in
mypy and seems useful, so let's add it.

This is proposed for the spec in python/typing#2173. It is trivial to support in
mypy and seems useful, so let's add it.
@github-actions

Copy link
Copy Markdown
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

meson (https://github.com/mesonbuild/meson)
+ mesonbuild/utils/platform.py:134: error: Unused "type: ignore" comment  [unused-ignore]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant