def _getFailure(self, error):
        if isinstance(error, tuple):
            return Failure(error[1], error[0], error[2])
        return error
Convert a C{sys.exc_info()}-style tuple to a L{Failure}, if necessary.
dataset/ETHPy150Open twisted/twisted/twisted/trial/reporter.py/TestResult._getFailure