code: def test_suppress_error_on_xcom_push(self):
      mock_context = mock.MagicMock()
      with mock.patch.object(
          MockOperator,
          "xcom_push",
          side_effect=PermissionError("FakeError"),
      ) as m:
          SimpleBaseAwsLink.persist(
              context=mock_context,
              operator=MockOperator(task_id="test_task_id"),
              region_name="eu-east-1",
              aws_partition="aws",
          )
          m.assert_called_once_with(
              mock_context,
              key="test_xcom_key",
              value={
                  "region_name": "eu-east-1",
                  "aws_domain": "aws.amazon.com",
              },
          )
  
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 3 for calling the TestBaseAwsLink obj's underlying member method code with example usage: obj.test_suppress_error_on_xcom_push() without return types