Skip to content

Commit 40b5699

Browse files
committed
fix format
1 parent 63cc521 commit 40b5699

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

tools-tests/tasks_test.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def assert_zip_all_nonempty(zip_path: str):
2626
for info in zf.infolist():
2727
assert info.file_size > 0, f"{info.filename} is zero-sized in zip"
2828

29+
2930
VERBOSE = 2
3031

3132
INPUT_CONFIG = """\
@@ -349,14 +350,18 @@ def test_python_task_execute_str(python_task_fp):
349350

350351

351352
def test_python_task_execute_exception_silent(python_task_fp):
352-
task = _make_python_task(lambda: (_ for _ in ()).throw(ValueError("boom")), log_exception=False)
353+
task = _make_python_task(
354+
lambda: (_ for _ in ()).throw(ValueError("boom")), log_exception=False
355+
)
353356
exit_code, message = task.execute(python_task_fp)
354357
assert exit_code == 1
355358
assert message == ""
356359

357360

358361
def test_python_task_execute_exception_logged(python_task_fp, capsys):
359-
task = _make_python_task(lambda: (_ for _ in ()).throw(ValueError("boom")), log_exception=True)
362+
task = _make_python_task(
363+
lambda: (_ for _ in ()).throw(ValueError("boom")), log_exception=True
364+
)
360365
exit_code, message = task.execute(python_task_fp)
361366
assert exit_code == 1
362367
assert message == ""

0 commit comments

Comments
 (0)