diff --git a/test_run_all.py b/test_run_all.py index 2709a98..367f265 100644 --- a/test_run_all.py +++ b/test_run_all.py @@ -14,7 +14,7 @@ def run_test(filename): raise ValueError(f"filename `{filename}` is not a Python (.py) file") module = f"ft_utils.tests.{f_head}" result = subprocess.run( - ["python", "-m", module], stdout=subprocess.PIPE, stderr=subprocess.PIPE + [sys.executable, "-m", module], stdout=subprocess.PIPE, stderr=subprocess.PIPE ) if result.returncode != 0: print(f"{module} failed:")