code: def test_graviton_xgboost_image_scope_specified(
      graviton_xgboost_versions,
  ):
      for xgboost_version in graviton_xgboost_versions:
          for instance_type in GRAVITON_INSTANCE_TYPES:
              uri = image_uris.retrieve(
                  "xgboost",
                  "us-west-2",
                  version=xgboost_version,
                  image_scope="inference_graviton",
              )
              expected = (
                  "246618743249.dkr.ecr.us-west-2.amazonaws.com/sagemaker-xgboost:"
                  f"{xgboost_version}-arm64"
              )
              assert expected == uri
  
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 6 for calling a global function with example usage: test_graviton_xgboost_image_scope_specified(graviton_xgboost_versions) without return types