def METHOD_NAME(self):
    with ignore_user_entered_signals():
        try:
            os.kill(os.getpid(), signal.SIGINT)
        except KeyboardInterrupt:
            self.fail('The ignore_user_entered_signals context '
                      'manager should have ignored')