Skip to content

Commit 2c78bb4

Browse files
committed
update docstring
1 parent 337c7c0 commit 2c78bb4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_data_api/conftest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,9 @@ def view_json_diff(
225225
sort_keys: bool = True,
226226
indent: int = 2,
227227
) -> str:
228-
# Convert each JSON object to a normalized, pretty string
228+
"""
229+
Generate a human-readable diff between two JSON objects
230+
"""
229231
a_str = json.dumps(a, indent=indent, sort_keys=sort_keys)
230232
b_str = json.dumps(b, indent=indent, sort_keys=sort_keys)
231233

0 commit comments

Comments
 (0)