'When called with a L{Failure} instance, L{excInfoOrFailureToExcInfo}
returns a tuple like the one returned by L{sys.exc_info}, with the
elements taken from the type, value, and traceback of the failure.'

def test_failure(self):

    try:
        (1 / 0)
    except:
        f = Failure()
    self.assertEqual((f.type, f.value, f.tb), excInfoOrFailureToExcInfo(f))
