We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28dc1ea commit 089fa56Copy full SHA for 089fa56
1 file changed
tests/test_api.py
@@ -384,7 +384,7 @@ def test_json_indent_with_different_indent_sizes(
384
if "\n" in result_2 and "\n" in result_4:
385
# Multi-line results should differ in formatting
386
# (indentation characters will be different)
387
- assert result_2 != result_4 and result_2.count(" ") != result_4.count(" ")
+ assert result_2 != result_4, "Different indent sizes should produce different formatting"
388
389
def test_json_indent_consistency_with_plain_decode(self):
390
"""Verify that json_indent=None produces same data as plain decode."""
0 commit comments