From 4bdf85348fdd04ca91cc5f6f3bfe0038d14c721a Mon Sep 17 00:00:00 2001 From: rdb Date: Sun, 22 Oct 2023 10:39:41 +0200 Subject: [PATCH] tests: Don't expect mypy to be on the system PATH --- tests/run_mypy.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/run_mypy.py b/tests/run_mypy.py index 30c1624888..fc949dc3e6 100644 --- a/tests/run_mypy.py +++ b/tests/run_mypy.py @@ -13,6 +13,8 @@ def main(): direct_copy = pathlib.Path(temp_dir, 'direct') shutil.copytree(direct_src, direct_copy) command = [ + sys.executable, + '-m', 'mypy', str(direct_copy.resolve()), '--config-file',