fix style

This commit is contained in:
Yakov Olkhovskiy 2024-09-30 04:02:25 +00:00
parent abd3747806
commit 55ae792706

View File

@ -18,6 +18,7 @@ def report(source: str, reason: str, call_stack: list, test_unit: str):
print("########### END OF REPORT ###########")
# pylint: disable=unused-argument
def process_fuzzer_output(output: str):
pass
@ -33,6 +34,7 @@ def process_error(error: str):
call_stack = []
is_call_stack = False
# pylint: disable=unused-variable
for line_num, line in enumerate(error.splitlines(), 1):
if is_call_stack:
@ -40,10 +42,10 @@ def process_error(error: str):
if match:
call_stack.append(match.group(1))
continue
else:
if re.search(SUMMARY, line):
is_call_stack = False
continue
if re.search(SUMMARY, line):
is_call_stack = False
continue
if not call_stack and not is_call_stack:
match = re.search(ERROR, line)