def setUp(self): self.column = sheets.DateColumn(format='%m/%d/%Y') self.string_value = '03/31/2010' self.python_value = datetime.date(2010, 3, 31) self.invalid_values = ['invalid', '03-31-2010']
def setUp(self): self.column = sheets.DateColumn() self.string_value = '2010-03-31' self.python_value = datetime.date(2010, 3, 31) self.invalid_values = ['invalid', '03-31-2010']