File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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+
2930VERBOSE = 2
3031
3132INPUT_CONFIG = """\
@@ -349,14 +350,18 @@ def test_python_task_execute_str(python_task_fp):
349350
350351
351352def 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
358361def 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 == ""
You can’t perform that action at this time.
0 commit comments