def METHOD_NAME(self):
    inp = cStringIO.StringIO("")
    out = cStringIO.StringIO()
    try:
        uu.decode(inp, out)
        self.fail("No exception raised")
    except uu.Error, e:
        self.assertEqual(str(e), "No valid begin line found in input file")