def test_repr(self):
    '\n        The C{repr} of a L{failure.Failure} shows the type and string\n        representation of the underlying exception.\n        '
    f = getDivisionFailure()
    typeName = reflect.fullyQualifiedName(ZeroDivisionError)
    self.assertEqual(repr(f), ('<twisted.python.failure.Failure %s: division by zero>' % (typeName,)))
The C{repr} of a L{failure.Failure} shows the type and string
representation of the underlying exception.
def test_repr(self):
    '\n        The C{repr} of a L{failure.Failure} shows the type and string\n        representation of the underlying exception.\n        '
    f = getDivisionFailure()
    typeName = reflect.fullyQualifiedName(ZeroDivisionError)
    self.assertEqual(repr(f), ('<twisted.python.failure.Failure %s: division by zero>' % (typeName,)))