class_docstr: Base class for AWS Provider links tests.
class_docstr_tok: ["Base","class","for","AWS","Provider","links","tests","."]
docstr: Test ignore any error on XCom pull
docstr_tok: ["Test","ignore","any","error","on","XCom","pull"]
code: def test_suppress_error_on_xcom_pull(self):
      """Test ignore any error on XCom pull"""
      with mock.patch.object(
          XCom, "get_value", side_effect=OSError("FakeError")
      ) as m:
          op, ti = self.create_op_and_ti(
              self.link_class,
              dag_id="test_error_on_xcom_pull",
              task_id=self.task_id,
          )
          self.link_class().get_link(op, ti_key=ti.key)
          m.assert_called_once()
  
imports: from __future__ import annotations
  from abc import abstractmethod
  from typing import TYPE_CHECKING, NamedTuple
  from unittest import mock
  import pytest
  from airflow.models.xcom import XCom
  from airflow.providers.amazon.aws.links.base_aws import BaseAwsLink
  from airflow.serialization.serialized_objects import SerializedDAG
  from tests.test_utils.mock_operators import MockOperator
label_desc: Use image node_id 8 for calling the BaseAwsLinksTestCase obj's underlying member method code with example usage: obj.test_suppress_error_on_xcom_pull() without return types