diff --git a/tests/mypy_selftest.py b/tests/mypy_selftest.py index 3dc3928e276b..4ee98f72bde3 100755 --- a/tests/mypy_selftest.py +++ b/tests/mypy_selftest.py @@ -11,6 +11,7 @@ if __name__ == '__main__': with tempfile.TemporaryDirectory() as tempdir: dirpath = Path(tempdir) + subprocess.run(['python2.7', '-m', 'pip', 'install', '--user', 'typing'], check=True) subprocess.run(['git', 'clone', '--depth', '1', 'git://github.com/python/mypy', str(dirpath / 'mypy')], check=True) subprocess.run([sys.executable, '-m', 'pip', 'install', '-U', '-r',