diff --git a/summarize_test_results.py b/summarize_test_results.py index b194fbb..00db562 100644 --- a/summarize_test_results.py +++ b/summarize_test_results.py @@ -440,7 +440,7 @@ def format_by_test(summary, structure, file_out=None): """print metrics bucketed by test class""" title = structure["title"] anchor = structure["anchor"] - print(f"\n

{title}

\n", file=file_out) + print(f"\n

{title}

\n", file=file_out) table = PrettyTable(align="l") table.field_names = structure["header"] @@ -477,7 +477,7 @@ def format_by_code(summary, structure, file_out=None): """print metrics bucketed by failing code""" title = structure["title"] anchor = structure["anchor"] - print(f"\n

{title}

\n", file=file_out) + print(f"\n

{title}

\n", file=file_out) table = PrettyTable(align="l") table.field_names = structure["header"] @@ -518,7 +518,7 @@ def format_durations_table(test_times, structure, file_out=None): """print the table of durations per test""" title = structure["title"] anchor = structure["anchor"] - print(f"\n

{title}

\n", file=file_out) + print(f"\n

{title}

\n", file=file_out) table = PrettyTable(align="l", max_width=80) table.set_style(MARKDOWN) @@ -541,7 +541,7 @@ def format_suite_durations_table(suite_times, structure, file_out=None): """print the table of durations for the whole suite, per platform""" title = structure["title"] anchor = structure["anchor"] - print(f"\n

{title}

\n", file=file_out) + print(f"\n

{title}

\n", file=file_out) table = PrettyTable(align="l", max_width=80) table.set_style(MARKDOWN)