'Test appending to an existing file that is not a zipfile.'

def test_append_to_non_zip_file(self):

    data = ('I    am    not    a    ZipFile!' * 10)
    with open(TESTFN2, 'wb') as f:
        f.write(data)
    with zipfile.ZipFile(TESTFN2, 'a', zipfile.ZIP_STORED) as zipfp:
        zipfp.write(TESTFN, TESTFN)
    with open(TESTFN2, 'rb') as f:
        f.seek(len(data))
        with zipfile.ZipFile(f, 'r') as zipfp:
            self.assertEqual(zipfp.namelist(), [TESTFN])
