File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -4219,6 +4219,12 @@ def _check_extension_indexlabels(self, ext):
4219
4219
os .remove (path )
4220
4220
4221
4221
def test_excel_roundtrip_datetime (self ):
4222
+ try :
4223
+ import xlwt
4224
+ import xlrd
4225
+ except ImportError :
4226
+ raise nose .SkipTest
4227
+
4222
4228
# datetime.date, not sure what to test here exactly
4223
4229
path = '__tmp_excel_roundtrip_datetime__.xls'
4224
4230
tsf = self .tsframe .copy ()
@@ -4230,6 +4236,11 @@ def test_excel_roundtrip_datetime(self):
4230
4236
os .remove (path )
4231
4237
4232
4238
def test_excel_roundtrip_bool (self ):
4239
+ try :
4240
+ import openpyxl
4241
+ except ImportError :
4242
+ raise nose .SkipTest
4243
+
4233
4244
#Test roundtrip np.bool8, does not seem to work for xls
4234
4245
path = '__tmp_excel_roundtrip_bool__.xlsx'
4235
4246
frame = (DataFrame (np .random .randn (10 ,2 )) >= 0 )
You can’t perform that action at this time.
0 commit comments