Skip to content

Commit

Permalink
TST: Skip if no openpyxl in test_excel (pandas-dev#17883)
Browse files Browse the repository at this point in the history
"test_read_excel_parse_dates" was calling "to_excel" without checking if "openpyxl" was installed.
  • Loading branch information
gfyoung authored and Krzysztof Chomski committed Oct 16, 2017
1 parent baaa253 commit 104b8e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pandas/tests/io/test_excel.py
Original file line number Diff line number Diff line change
Expand Up @@ -975,6 +975,7 @@ def test_read_excel_chunksize(self):

def test_read_excel_parse_dates(self):
# GH 11544, 12051
_skip_if_no_openpyxl()

df = DataFrame(
{'col': [1, 2, 3],
Expand Down

0 comments on commit 104b8e3

Please sign in to comment.