code: def _test_graviton_unsupported_framework(
      framework, region, framework_version
  ):
      for instance_type in GRAVITON_INSTANCE_TYPES:
          with pytest.raises(ValueError) as error:
              image_uris.retrieve(
                  framework,
                  region,
                  version=framework_version,
                  instance_type=instance_type,
              )
          expectedErr = (
              f"Unsupported framework: {framework}. Supported framework(s) for Graviton instances: "
              f"{GRAVITON_ALLOWED_FRAMEWORKS}."
          )
          assert expectedErr in str(error)
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/image_uris/test_graviton.py
imports: from __future__ import absolute_import
  from sagemaker import image_uris
  from tests.unit.sagemaker.image_uris import expected_uris
  from sagemaker.fw_utils import GRAVITON_ALLOWED_FRAMEWORKS
  import pytest
label_desc: Use image node_id 3 for calling a global function with example usage: _test_graviton_unsupported_framework(framework, region, framework_version) without return types