Re-enable mypy test suite (#5526)

Fixes #5505, in combination with https://github.com/python/mypy/pull/10527

Co-authored-by: hauntsaninja <>
This commit is contained in:
Shantanu
2021-05-25 01:42:18 -07:00
committed by GitHub
parent 781b76769e
commit 05f91f73b3
2 changed files with 11 additions and 8 deletions

View File

@@ -18,6 +18,9 @@ if __name__ == "__main__":
)
shutil.rmtree(dirpath / "mypy/mypy/typeshed/stdlib")
shutil.copytree("stdlib", dirpath / "mypy/mypy/typeshed/stdlib")
shutil.rmtree(dirpath / "mypy/mypy/typeshed/stubs/mypy-extensions")
shutil.copytree(Path("stubs/mypy-extensions"), dirpath / "mypy/mypy/typeshed/stubs/mypy-extensions")
try:
subprocess.run([sys.executable, "runtests.py", "typeshed-ci"], cwd=dirpath / "mypy", check=True)
except subprocess.CalledProcessError as e: