'L{amp.RemoteAmpError} renders local errors with a "(local)" marker and
a brief traceback.'

def test_stringMessageWithLocalFailure(self):

    failure = Failure(Exception('Something    came    loose'))
    error = amp.RemoteAmpError('BROKEN', 'Something    has    broken', local=failure)
    self.assertRegex(str(error), '^Code<BROKEN>    [(]local[)]:    Something    has    broken\nTraceback    [(]failure    with    no    frames[)]:    <.+Exception.>:    Something    came    loose\n')
