'If outer transaction fails, no hooks from within it run.'

def test_no_hooks_run_from_failed_transaction(self):

    with suppress(ForcedError):
        with transaction.atomic():
            with transaction.atomic():
                self.do(1)
            raise ForcedError()
    self.assertDone([])
