Repository navigation
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 |
|
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? |
Yet another item for #1673.
This PR uses the api for the self-check.
Example of a failed-run output:
$ ./runtests.py self-checkresults in a similar output, though slightly more verbose, as usual.