def _brokenTypeTest(self, detail):
    '\n        Construct a L{Failure} with an exception type that raises an exception\n        from its C{__str__} method and then call C{getTraceback} with the\n        specified detail and verify that it returns a string.\n        '
    f = failure.Failure(BrokenExceptionType())
    traceback = f.getTraceback(detail=detail)
    self.assertIsInstance(traceback, str)
Construct a L{Failure} with an exception type that raises an exception
from its C{__str__} method and then call C{getTraceback} with the
specified detail and verify that it returns a string.
def _brokenTypeTest(self, detail):
    '\n        Construct a L{Failure} with an exception type that raises an exception\n        from its C{__str__} method and then call C{getTraceback} with the\n        specified detail and verify that it returns a string.\n        '
    f = failure.Failure(BrokenExceptionType())
    traceback = f.getTraceback(detail=detail)
    self.assertIsInstance(traceback, str)