def getFailure(self, exceptionInstance):
        try:
            raise exceptionInstance
        except:
            return Failure()
Return a L{Failure} from raising the given exception.
dataset/ETHPy150Open twisted/twisted/twisted/trial/test/test_reporter.py/AdaptedReporterTests.getFailure