def METHOD_NAME(self):
    # Create test data.
    line_gen = ("Test of zipfile line %d." % i for i in range(1000000))
    self.data = '\n'.join(line_gen).encode('ascii')
    # And write it to a file.
    with open(TESTFN, "wb") as fp:
        fp.write(self.data)