Skip to content
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

stubtest: speed up tests by a lot #9621

Merged
merged 2 commits into from
Oct 21, 2020
Merged

Conversation

hauntsaninja
Copy link
Collaborator

I probably should have done this earlier...

I probably should have done this earlier...
Copy link
Collaborator

@emmatyping emmatyping left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks really great! Thank you for doing this.

mypy/test/teststubtest.py Show resolved Hide resolved
mypy/test/teststubtest.py Show resolved Hide resolved
@hauntsaninja hauntsaninja merged commit ecec8bb into python:master Oct 21, 2020
@hauntsaninja hauntsaninja deleted the tstubt branch October 21, 2020 07:10
hauntsaninja pushed a commit to hauntsaninja/mypy that referenced this pull request Oct 24, 2020
I did some work to speed up stubtest tests substantially in python#9621
This is a lesser win. The argument to get rid of it is that it's the
slowest mypy test and just testing for crashes on typeshed doesn't
provide much value. Since this was written we started running stubtest
in typeshed CI and in practice all changes are tested on typeshed
anyway.
hauntsaninja added a commit that referenced this pull request Oct 25, 2020
I did some work to speed up stubtest tests substantially in #9621
This is a lesser win. The argument to get rid of it is that it's the
slowest mypy test and just testing for crashes on typeshed doesn't
provide much value. Since this was written we started running stubtest
in typeshed CI and in practice all changes are tested on typeshed
anyway.

Co-authored-by: hauntsaninja <>
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