Skip to content

Commit cce82e8

Browse files
gfyoungNo-Stream
authored andcommitted
TST: Skip if no openpyxl in test_excel (pandas-dev#17883)
"test_read_excel_parse_dates" was calling "to_excel" without checking if "openpyxl" was installed.
1 parent 2cdf0e6 commit cce82e8

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
@@ -975,6 +975,7 @@ def test_read_excel_chunksize(self):
975975

976976
def test_read_excel_parse_dates(self):
977977
# GH 11544, 12051
978+
_skip_if_no_openpyxl()
978979

979980
df = DataFrame(
980981
{'col': [1, 2, 3],

0 commit comments

Comments
 (0)