File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1553,7 +1553,8 @@ def test_subclass_attr(klass):
15531553
15541554
15551555@pytest .mark .parametrize ("merge_cells" , [True , False ])
1556- def test_excel_round_trip_with_periodindex (merge_cells ):
1556+ @pytest .mark .parametrize ("engine" , ["openpyxl" , "xlsxwriter" ])
1557+ def test_excel_round_trip_with_periodindex (merge_cells , engine ):
15571558 # GH#60099
15581559 df = DataFrame (
15591560 {"A" : [1 , 2 ]},
@@ -1564,7 +1565,7 @@ def test_excel_round_trip_with_periodindex(merge_cells):
15641565 )
15651566
15661567 with BytesIO () as buffer :
1567- with ExcelWriter (buffer , engine = "xlsxwriter" ) as writer :
1568+ with ExcelWriter (buffer , engine = engine ) as writer :
15681569 df .to_excel (writer , merge_cells = merge_cells )
15691570
15701571 buffer .seek (0 )
You can’t perform that action at this time.
0 commit comments