Skip to content

Run tests on win32 for mypy #3425

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

JelleZijlstra
Copy link
Member

We missed an issue in Windows (see #3424) because typeshed tests run only on Unix; it was caught in mypy tests because those also run on Windows. This PR makes the typeshed mypy test also run with --platform win32.

I'm not quite sure this is worth it because it will double testing time and it's been very rare for a Windows-only mypy issue to get missed. We also have a handful of sys.platform checks for "darwin" in typeshed, so perhaps we should also add that to the tested platforms, but that would increase testing time even more.

@srittau
Copy link
Collaborator

srittau commented Oct 30, 2019

Could we maybe just run one of the mypy tests (not the self test) using the windows and darwin platform using travis-ci as separate jobs? This would run in parallel to the other tests.

@JelleZijlstra
Copy link
Member Author

#3457 is merged now and is a better solution.

@JelleZijlstra JelleZijlstra deleted the windowstest branch November 11, 2019 15:52
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.

2 participants