From df187cf2eb16892359d12757f7f3375aaa4b3e31 Mon Sep 17 00:00:00 2001 From: gfyoung Date: Sun, 15 Oct 2017 16:48:12 -0700 Subject: [PATCH] TST: Skip if no openpyxl in test_excel test_read_excel_parse_dates was calling "to_excel" without checking if openpyxl was installed. --- pandas/tests/io/test_excel.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pandas/tests/io/test_excel.py b/pandas/tests/io/test_excel.py index f21f638799e57..7af8bd12ca805 100644 --- a/pandas/tests/io/test_excel.py +++ b/pandas/tests/io/test_excel.py @@ -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],