From 62dd63ac9abe4cf2d187b4912a75caf4505c150e Mon Sep 17 00:00:00 2001 From: djl11 Date: Tue, 27 Aug 2024 22:20:11 -0700 Subject: [PATCH] improved formatting of the saved results file during testing. --- tests/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/helpers.py b/tests/helpers.py index 54fca7392..3e0ed18b9 100644 --- a/tests/helpers.py +++ b/tests/helpers.py @@ -121,7 +121,7 @@ def group_and_order_results(results: Dict[str, Dict[str, Union[True, str]]])\ def save_results(results: Dict[str, Dict[str, Dict[str, Union[True, str]]]], fpath: str) -> None: - json_str = json.dumps(results) + json_str = json.dumps(results, indent=4) with open(fpath, "w") as file: file.write(json_str)