code: def test_graviton_xgboost_unsupported_version(
      graviton_xgboost_unsupported_versions,
  ):
      for xgboost_version in graviton_xgboost_unsupported_versions:
          for instance_type in GRAVITON_INSTANCE_TYPES:
              with pytest.raises(ValueError) as error:
                  image_uris.retrieve(
                      "xgboost",
                      "us-west-2",
                      version=xgboost_version,
                      instance_type=instance_type,
                  )
              assert (
                  f"Unsupported xgboost version: {xgboost_version}."
                  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 8 for calling a global function with example usage: test_graviton_xgboost_unsupported_version(graviton_xgboost_unsupported_versions) without return types