Skip to content

Commit 5160d24

Browse files
committed
chore: Check if numpy unit test failure is intermittent.
1 parent ecfd509 commit 5160d24

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/tests/io/excel/test_style.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,7 @@ def test_autofilter_with_multiindex(engine, tmp_excel):
405405
"name": ("Blacky", "Wendy", "Rufus", "Catchy"),
406406
}
407407
)
408+
# setup hierarchical index
408409
mi_df = df.set_index(["animal", "color of fur"])
409410
with ExcelWriter(tmp_excel, engine=engine) as writer:
410411
mi_df.to_excel(writer, autofilter=True, index=True, merge_cells=False)
@@ -426,6 +427,7 @@ def test_autofilter_with_multiindex_and_merge_cells_shows_warning(tmp_excel):
426427
"name": ("Blacky", "Wendy", "Rufus", "Catchy"),
427428
}
428429
)
430+
# setup hierarchical index
429431
mi_df = df.set_index(["animal", "color of fur"])
430432
with ExcelWriter(tmp_excel, engine="openpyxl") as writer:
431433
with tm.assert_produces_warning(

0 commit comments

Comments
 (0)