diff --git a/summarize_test_results.py b/summarize_test_results.py
index c0e81c3..3dd9a70 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
\n", file=file_out)
+ print(f"\n\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\n", file=file_out)
+ print(f"\n\n", file=file_out)
table = PrettyTable(align="l")
table.field_names = structure["header"]