'Test the creation of a simple XlsxWriter file.'

def test_create_file_bytes_io_in_memory(self):

    workbook = Workbook(self.got_filename, {'in_memory': True})
    worksheet = workbook.add_worksheet()
    vba_file = open((self.vba_dir + 'vbaProject01.bin'), 'rb')
    vba_data = BytesIO(vba_file.read())
    vba_file.close()
    workbook.add_vba_project(vba_data, True)
    worksheet.write('A1', 123)
    workbook.close()
    self.assertExcelEqual()
