'Evaluate raising an exception.'

def test_Exception(self):

    done = self.recvlineClient.expect('done')
    self._testwrite("raise    Exception('foo    bar    baz')\ndone")
    def finished(ign):
        self._assertBuffer([">>>    raise    Exception('foo    bar    baz')", 'Traceback    (most    recent    call    last):', ('        File    "<console>",    line    1,    in    ' + defaultFunctionName.encode('utf-8')), 'Exception:    foo    bar    baz', '>>>    done'])
    return done.addCallback(finished)
