Skip to content

Commit 6ddc581

Browse files
authored
Update test_openpyxl.py
1 parent 0408544 commit 6ddc581

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pandas/tests/io/excel/test_openpyxl.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,13 @@ def test_autofilter_single_column(tmp_excel):
559559
def test_autofilter_no_header(tmp_excel):
560560
# GH 61194 - Edge case: autofilter with header=False
561561
df = DataFrame([[1, 2], [3, 4]])
562-
df.to_excel(tmp_excel, engine="openpyxl", autofilter=True, header=False, index=False)
562+
df.to_excel(
563+
tmp_excel,
564+
engine="openpyxl",
565+
autofilter=True,
566+
header=False,
567+
index=False,
568+
)
563569

564570
with contextlib.closing(openpyxl.load_workbook(tmp_excel)) as wb:
565571
ws = wb.active

0 commit comments

Comments
 (0)