-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Add self-check to pytests #5087
Conversation
3.4 fails the type check with this error:
I have no idea why did it pass before. (See short discussion here) |
Maybe we just didn't run a self-check with 3.4 before? That error is consistent with the stubs (https://github.com/python/typeshed/blob/master/stdlib/3/tempfile.pyi): TemporaryDirectory is generic only in 3.5+. |
I think self check is only run on 3.6. Btw @elazarg I added a new label topic-tests for test related issues. |
I see. I've changed the name of the self testing from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make sure to update the appveyor/travis configs to replace package
with self-check
if we are going ahead with that.
Where's the appveyor check? I've only touched |
@elazarg it is excluded on this line https://github.com/python/mypy/blob/master/appveyor.yml#L24 |
@ethanhs is it OK now? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CI configs look good!
Yet another item for #1673.
This PR uses the api for the self-check.
Example of a failed-run output:
$ ./runtests.py self-check
results in a similar output, though slightly more verbose, as usual.