Skip to content

Commit f3cdfbe

Browse files
committed
fix ruff errors
1 parent c109ad2 commit f3cdfbe

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

python/tests/test_dataframe.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1407,8 +1407,7 @@ def test_display_config_affects_repr(data):
14071407
# The representation should show truncated data (3 rows as specified)
14081408
assert (
14091409
# 5 = 1 header row + 3 separator line + 1 truncation message
1410-
repr_str.count("\n")
1411-
<= max_table_rows_in_repr + 5
1410+
repr_str.count("\n") <= max_table_rows_in_repr + 5
14121411
)
14131412
assert "Data truncated" in repr_str
14141413

@@ -1424,8 +1423,7 @@ def test_display_config_affects_repr(data):
14241423
# Should show all data without truncation message
14251424
assert (
14261425
# 4 = 1 header row + 3 separator lines
1427-
repr_str2.count("\n")
1428-
== max_table_rows_in_repr + 4
1426+
repr_str2.count("\n") == max_table_rows_in_repr + 4
14291427
) # All rows should be shown
14301428
assert "Data truncated" not in repr_str2
14311429

0 commit comments

Comments
 (0)