'Test write_datetime without timezones.'

def test_remove_timezone_none(self):

    workbook = Workbook(self.got_filename, {'remove_timezone': False})
    worksheet = workbook.add_worksheet()
    worksheet.set_column(0, 0, 20)
    format1 = workbook.add_format({'num_format': 20})
    format2 = workbook.add_format({'num_format': 14})
    format3 = workbook.add_format({'num_format': 22})
    date1 = time(12, 0, 0)
    date2 = date(2016, 9, 23)
    date3 = datetime.strptime('2016-09-12    12:00', '%Y-%m-%d    %H:%M')
    worksheet.write_datetime(0, 0, date1, format1)
    worksheet.write_datetime(1, 0, date2, format2)
    worksheet.write_datetime(2, 0, date3, format3)
    workbook.close()
    self.assertExcelEqual()
