Description
@ambv: I think some of your recent work on runtests.py may have stopped running some tests.
In particular, PR #2634 introduced something that doesn't work in Python 3.5.1 (from typing import Type -- the 3.5.1 stdlib version of typing.py doesn't define Type). There's a line in .travis.yml to run the tests with Python 3.5.1 specifically to catch this issue (the reason is our internal CI uses 3.5.1 and can't easily be updated). But the tests didn't fail (so our internal CI failed). I've fixed this in #2669 but the issue remains -- why did the test not catch it?
My theory is that somehow runtests.py doesn't run mypy any more.
Here's confirmation: with Python 3.5.1 installed, if I add the line from typing import Type
to mypy/main.py, then running python3 -m mypy -c pass
instantly fails with an ImportError, but python3.5 runtest.py -x lint
passes without errors.
I'm also suspicious that the running time has gone down so much -- from IIRC ~4 minutes to 1:30.