def test_dates_column_times(self): normal_values = xls.normalize_dates([ xltime((14, 30, 0)), xltime((4, 5, 37)), xltime((0, 0, 0)), ''], 0) self.assertEquals(normal_values, (datetime.time, [datetime.time(14, 30, 00), datetime.time(4, 5, 37), datetime.time(0, 0, 0), None]))
def test_dates_column_times_and_datetimes(self): self.assertRaises(XLSDataError, xls.normalize_dates, [ xldatetime((2004, 6, 5, 0, 30, 0), 0), xltime((4, 5, 37)), ''], 0)
def test_dates_column_times_and_datetimes(self): self.assertRaises( XLSDataError, xls.normalize_dates, [xldatetime((2004, 6, 5, 0, 30, 0), 0), xltime((4, 5, 37)), ''], 0)