Skip to content

Commit

Permalink
Run with -m modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
zleman1593 committed Nov 11, 2024
1 parent 54908dd commit d5717cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_torchfix.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def test_no_python_files(tmp_path):
# Run torchfix on the temporary directory
# Seems wrong to call python3 directly here.
result = subprocess.run(
["python3", "torchfix/__main__.py", str(tmp_path)],
["python3", "-m", "torchfix", str(tmp_path)],
capture_output=True,
text=True,
)
Expand Down

0 comments on commit d5717cc

Please sign in to comment.