We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c8a40a commit 56ef4d7Copy full SHA for 56ef4d7
pandas/tests/io/excel/test_style.py
@@ -73,9 +73,13 @@ def test_styler_to_excel_unstyled(engine, tmp_excel):
73
74
openpyxl = pytest.importorskip("openpyxl") # test loading only with openpyxl
75
with contextlib.closing(openpyxl.load_workbook(tmp_excel)) as wb:
76
- for col1, col2 in zip(wb["dataframe"].columns, wb["unstyled"].columns):
+ for col1, col2 in zip(
77
+ wb["dataframe"].columns,
78
+ wb["unstyled"].columns,
79
+ strict=True,
80
+ ):
81
assert len(col1) == len(col2)
- for cell1, cell2 in zip(col1, col2):
82
+ for cell1, cell2 in zip(col1, col2, strict=True):
83
assert cell1.value == cell2.value
84
assert_equal_cell_styles(cell1, cell2)
85
0 commit comments