def test_failureConstructionFindsOriginalFailure(self):
    '\n        When a Failure is constructed in the context of an exception\n        handler that is handling an exception raised by\n        raiseException, the new Failure should be chained to that\n        original Failure.\n        '
    f = getDivisionFailure()
    f.cleanFailure()
    try:
        f.raiseException()
    except:
        newF = failure.Failure()
        self.assertEqual(f.getTraceback(), newF.getTraceback())
    else:
        self.fail('No exception raised from raiseException!?')
When a Failure is constructed in the context of an exception
handler that is handling an exception raised by
raiseException, the new Failure should be chained to that
original Failure.
def test_failureConstructionFindsOriginalFailure(self):
    '\n        When a Failure is constructed in the context of an exception\n        handler that is handling an exception raised by\n        raiseException, the new Failure should be chained to that\n        original Failure.\n        '
    f = getDivisionFailure()
    f.cleanFailure()
    try:
        f.raiseException()
    except:
        newF = failure.Failure()
        self.assertEqual(f.getTraceback(), newF.getTraceback())
    else:
        self.fail('No exception raised from raiseException!?')