From 1bf13ae58bdc4780956fa47c1ebacaaf0b4b65d3 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 12 Jan 2017 18:10:11 +0000 Subject: [PATCH] BF: skip two tests which failed when xlwt was N/A Gbp-Pq: Name changeset_233b28f02ec0c88a955e6a26cc43c0a88929536c.diff --- pandas/io/tests/test_excel.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pandas/io/tests/test_excel.py b/pandas/io/tests/test_excel.py index 056b7a53..cf40464e 100644 --- a/pandas/io/tests/test_excel.py +++ b/pandas/io/tests/test_excel.py @@ -417,6 +417,9 @@ class ReadingTestsBase(SharedItems): # GH 12292 : error when read one empty column from excel file def test_read_one_empty_col_no_header(self): + _skip_if_no_xlwt() + _skip_if_no_openpyxl() + df = pd.DataFrame( [["", 1, 100], ["", 2, 200], @@ -475,6 +478,9 @@ class ReadingTestsBase(SharedItems): def test_set_column_names_in_parameter(self): # GH 12870 : pass down column names associated with # keyword argument names + _skip_if_no_xlwt() + _skip_if_no_openpyxl() + refdf = pd.DataFrame([[1, 'foo'], [2, 'bar'], [3, 'baz']], columns=['a', 'b']) -- 2.30.2