Skip to content

Commit 41b9b0a

Browse files
committed
REF: Enable strict=True for zip in pandas/tests/io/excel
1 parent 8be8439 commit 41b9b0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/io/excel/test_style.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ def test_styler_to_excel_unstyled(engine, tmp_excel):
7373

7474
openpyxl = pytest.importorskip("openpyxl") # test loading only with openpyxl
7575
with contextlib.closing(openpyxl.load_workbook(tmp_excel)) as wb:
76-
for col1, col2 in zip(wb["dataframe"].columns, wb["unstyled"].columns):
76+
for col1, col2 in zip(wb["dataframe"].columns, wb["unstyled"].columns,strict=True):
7777
assert len(col1) == len(col2)
78-
for cell1, cell2 in zip(col1, col2):
78+
for cell1, cell2 in zip(col1, col2, strict=True):
7979
assert cell1.value == cell2.value
8080
assert_equal_cell_styles(cell1, cell2)
8181

0 commit comments

Comments
 (0)