From 07e09dc4756f443114967447e998e8bd853aedbc Mon Sep 17 00:00:00 2001 From: zackl-meta Date: Mon, 11 Nov 2024 12:31:13 -0800 Subject: [PATCH] Run against current script --- tests/test_torchfix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_torchfix.py b/tests/test_torchfix.py index 882a49e..dc60e35 100644 --- a/tests/test_torchfix.py +++ b/tests/test_torchfix.py @@ -115,7 +115,7 @@ def test_no_python_files(tmp_path): # Run torchfix on the temporary directory # TODO: Fix this. This will not run the test on current build result = subprocess.run( - ["torchfix", str(tmp_path)], + ["python3", "torchfix/__main__.py", str(tmp_path)], capture_output=True, text=True, )