up_xlwt_optional
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Tue, 24 Apr 2018 19:09:20 +0000 (20:09 +0100)
committerGraham Inggs <ginggs@debian.org>
Tue, 24 Apr 2018 19:09:20 +0000 (20:09 +0100)
Gbp-Pq: Name up_xlwt_optional

pandas/tests/io/test_excel.py

index 806f4f807cb15a754f6a06dcdee18497ef8b5f41..613604840f2d64b29e43d53b59b7ac17929b47ee 100644 (file)
@@ -980,6 +980,7 @@ class XlrdTests(ReadingTestsBase):
     def test_read_excel_parse_dates(self):
         # GH 11544, 12051
         _skip_if_no_openpyxl()
+        _skip_if_no_xlwt()  # for df2.to_excel
 
         df = DataFrame(
             {'col': [1, 2, 3],