Use ape interpreter in flakes program

This commit is contained in:
Justine Tunney 2024-12-24 12:16:50 -08:00
parent 2de3845b25
commit 0158579493
No known key found for this signature in database
GPG key ID: BE714B4575D6E328

View file

@ -22,7 +22,7 @@ def find_test_files(root_dir: str) -> List[str]:
def run_single_test(test_path: str) -> int:
"""Run a single test and return its exit code."""
try:
result = subprocess.run([test_path], capture_output=False)
result = subprocess.run(["ape", test_path], capture_output=False)
return result.returncode
except Exception as e:
print(f"Error running {test_path}: {e}")