Skip to content

Commit 695614d

Browse files
yarikopticjreback
authored andcommitted
BF: Skip test_read_excel_parse_dates if no xlwt which is used in to_excel (#19803)
1 parent feec5c1 commit 695614d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/tests/io/test_excel.py

+1
Original file line numberDiff line numberDiff line change
@@ -968,6 +968,7 @@ def test_read_excel_chunksize(self):
968968
def test_read_excel_parse_dates(self):
969969
# GH 11544, 12051
970970
_skip_if_no_openpyxl()
971+
_skip_if_no_xlwt() # for df2.to_excel
971972

972973
df = DataFrame(
973974
{'col': [1, 2, 3],

0 commit comments

Comments
 (0)