mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-15 20:24:07 +00:00
fix style
This commit is contained in:
parent
abd3747806
commit
55ae792706
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user