Skip to content

Commit 922553c

Browse files
committed
TST: Add skip test to excelwriter contextmanager
1 parent eb2b8bc commit 922553c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/io/tests/test_excel.py

+1
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,7 @@ def test_excel_sheet_by_name_raise(self):
343343
self.assertRaises(xlrd.XLRDError, xl.parse, '0')
344344

345345
def test_excelwriter_contextmanager(self):
346+
_skip_if_no_xlrd()
346347
ext = self.ext
347348
pth = os.path.join(self.dirpath, 'testit.{0}'.format(ext))
348349

0 commit comments

Comments
 (0)