Skip to content

Commit 69bcf6f

Browse files
committed
ruff fix
1 parent 61db037 commit 69bcf6f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

python/tests/test_dataframe.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1569,9 +1569,7 @@ def test_repr_rows_backward_compatibility(clean_formatter_state):
15691569
assert formatter.repr_rows == 15
15701570

15711571
# Should fail when conflicting with max_rows
1572-
with pytest.raises(
1573-
ValueError, match="Cannot specify both repr_rows and max_rows"
1574-
):
1572+
with pytest.raises(ValueError, match="Cannot specify both repr_rows and max_rows"):
15751573
DataFrameHtmlFormatter(repr_rows=5, max_rows=10)
15761574

15771575
# Setting repr_rows via property should warn

0 commit comments

Comments
 (0)