def METHOD_NAME(self):
    f = None
    try:
        support.unlink(self.tmpin)
        f = open(self.tmpin, 'wb')
        f.write(encodedtextwrapped(0o644, self.tmpout))
        f.close()
        uu.decode(self.tmpin)
        f = open(self.tmpout, 'rb')
        s = f.read()
        f.close()
        self.assertEqual(s, plaintext)
    finally:
        self._kill(f)