def _brokenValueTest(self, detail):
    '\n        Construct a L{Failure} with an exception that raises an exception from\n        its C{__str__} method and then call C{getTraceback} with the specified\n        detail and verify that it returns a string.\n        '
    x = BrokenStr()
    f = failure.Failure(x)
    traceback = f.getTraceback(detail=detail)
    self.assertIsInstance(traceback, str)
Construct a L{Failure} with an exception 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 _brokenValueTest(self, detail):
    '\n        Construct a L{Failure} with an exception that raises an exception from\n        its C{__str__} method and then call C{getTraceback} with the specified\n        detail and verify that it returns a string.\n        '
    x = BrokenStr()
    f = failure.Failure(x)
    traceback = f.getTraceback(detail=detail)
    self.assertIsInstance(traceback, str)