def test_getTracebackObjectFromClean(self):
    '\n        If the Failure has been cleaned, then C{getTracebackObject} returns an\n        object that looks the same to L{traceback.extract_tb}.\n        '
    f = getDivisionFailure()
    expected = traceback.extract_tb(f.getTracebackObject())
    f.cleanFailure()
    observed = traceback.extract_tb(f.getTracebackObject())
    self.assertIsNotNone(expected)
    self.assertEqual(expected, observed)
If the Failure has been cleaned, then C{getTracebackObject} returns an
object that looks the same to L{traceback.extract_tb}.
def test_getTracebackObjectFromClean(self):
    '\n        If the Failure has been cleaned, then C{getTracebackObject} returns an\n        object that looks the same to L{traceback.extract_tb}.\n        '
    f = getDivisionFailure()
    expected = traceback.extract_tb(f.getTracebackObject())
    f.cleanFailure()
    observed = traceback.extract_tb(f.getTracebackObject())
    self.assertIsNotNone(expected)
    self.assertEqual(expected, observed)