Browse Source

tests: Don't expect mypy to be on the system PATH

rdb 2 years ago
parent
commit
4bdf85348f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tests/run_mypy.py

+ 2 - 0
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',