Skip to content

Commit 340d6f6

Browse files
committed
Fix ruff
1 parent 48ab5fb commit 340d6f6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/sage/cli/run_file_cmd_test.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
from unittest.mock import patch
44
import sys
55

6+
67
def test_run_file_cmd(capsys, tmp_path):
78
file = tmp_path / "test.sage"
89
file.write_text("print(3^33)")
9-
options = CliOptions(file = [str(file)])
10+
options = CliOptions(file=[str(file)])
1011
run_file_cmd = RunFileCmd(options)
1112

1213
result = run_file_cmd.run()
@@ -18,7 +19,7 @@ def test_run_file_cmd_with_args(capsys, tmp_path):
1819
with patch.object(sys, 'argv', ["python3", "test.sage", "1", "1"]):
1920
file = tmp_path / "test.sage"
2021
file.write_text("import sys; print(int(sys.argv[1]) + int(sys.argv[2]))")
21-
options = CliOptions(file = [str(file), "1", "1"])
22+
options = CliOptions(file=[str(file), "1", "1"])
2223
run_file_cmd = RunFileCmd(options)
2324

2425
result = run_file_cmd.run()

0 commit comments

Comments
 (0)