Skip to content

Commit 089fa56

Browse files
jreakinCopilot
andauthored
Update tests/test_api.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 28dc1ea commit 089fa56

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ def test_json_indent_with_different_indent_sizes(
384384
if "\n" in result_2 and "\n" in result_4:
385385
# Multi-line results should differ in formatting
386386
# (indentation characters will be different)
387-
assert result_2 != result_4 and result_2.count(" ") != result_4.count(" ")
387+
assert result_2 != result_4, "Different indent sizes should produce different formatting"
388388

389389
def test_json_indent_consistency_with_plain_decode(self):
390390
"""Verify that json_indent=None produces same data as plain decode."""

0 commit comments

Comments
 (0)