mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-23 12:21:27 +08:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user