@defer.deferredGenerator
    def _run_cleanups(self):
        while self.case._cleanups:
            f, args, kwargs = self.case._cleanups.pop()
            d = defer.maybeDeferred(f, *args, **kwargs)
            thing = defer.waitForDeferred(d)
            yield thing
            try:
                thing.getResult()
            except Exception:
                exc_info = sys.exc_info()
                self.case._report_traceback(exc_info)
                last_exception = exc_info[1]
        yield last_exception
More than one informational response is allowed.
dataset/ETHPy150Open byt3bl33d3r/pth-toolkit/lib/python2.7/site-packages/samba/external/testtools/deferredruntest.py/AsynchronousDeferredRunTest._run_cleanups--crossover with--dataset/ETHPy150Open python-hyper/hyper-h2/test/test_informational_responses.py/TestReceivingInformationalResponses.test_receiving_multiple_informational_responses