code: def test_invalid_compute_value(self):
      invalid_compute = EksCreateClusterOperator(
          task_id=TASK_ID,
          **self.create_cluster_params,
          compute="infinite",
      )
  
      with pytest.raises(
          ValueError, match="Provided compute type is not supported."
      ):
          invalid_compute.execute({})
  
imports: from __future__ import annotations
  from typing import Any
  from unittest import mock
  import pytest
  from botocore.waiter import Waiter
  from airflow.exceptions import TaskDeferred
  from airflow.providers.amazon.aws.hooks.eks import ClusterStates, EksHook
  from airflow.providers.amazon.aws.operators.eks import EksCreateClusterOperator, EksCreateFargateProfileOperator, EksCreateNodegroupOperator, EksDeleteClusterOperator, EksDeleteFargateProfileOperator, EksDeleteNodegroupOperator, EksPodOperator
  from airflow.providers.amazon.aws.triggers.eks import EksCreateFargateProfileTrigger, EksCreateNodegroupTrigger, EksDeleteFargateProfileTrigger
  from airflow.providers.cncf.kubernetes.utils.pod_manager import OnFinishAction
  from airflow.typing_compat import TypedDict
  from tests.providers.amazon.aws.utils.eks_test_constants import NODEROLE_ARN, POD_EXECUTION_ROLE_ARN, RESOURCES_VPC_CONFIG, ROLE_ARN, SELECTORS, SUBNET_IDS, TASK_ID
  from tests.providers.amazon.aws.utils.eks_test_utils import convert_keys
  from tests.providers.amazon.aws.utils.test_waiter import assert_expected_waiter_type
label_desc: Use image node_id 10 for calling the TestEksCreateClusterOperator obj's underlying member method code with example usage: obj.test_invalid_compute_value() without return types