Skip to content

Commit

Permalink
improved formatting of the saved results file during testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
djl11 committed Aug 28, 2024
1 parent 4f1fccd commit 62dd63a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 62dd63a

Please sign in to comment.