'Test writing special numbers.'

def test_write_nan_and_inf_write_as_string(self):

    workbook = Workbook(self.got_filename, {'nan_inf_to_errors': True, 'strings_to_numbers': True})
    worksheet = workbook.add_worksheet()
    worksheet.write(0, 0, 'nan')
    worksheet.write(1, 0, 'inf')
    worksheet.write(2, 0, '-inf')
    workbook.close()
    self.assertExcelEqual()
