code: def test_retrieve_unsupported_version(config_for_framework):
      with pytest.raises(ValueError) as e:
          image_uris.retrieve(
              framework="some-framework",
              version="1",
              py_version="py3",
              instance_type="ml.c4.xlarge",
              region="us-west-2",
              image_scope="training",
          )
  
      assert "Unsupported some-framework version: 1." in str(e.value)
      assert (
          "Supported some-framework version(s): 1.0.0, 1.1.0."
          in str(e.value)
      )
  
      with pytest.raises(ValueError) as e:
          image_uris.retrieve(
              framework="some-framework",
              py_version="py3",
              instance_type="ml.c4.xlarge",
              region="us-west-2",
              image_scope="training",
          )
  
      assert "Unsupported some-framework version: None." in str(e.value)
      assert (
          "Supported some-framework version(s): 1.0.0, 1.1.0."
          in str(e.value)
      )
  
imports: from __future__ import absolute_import
  import copy
  import logging
  import pytest
  from mock import patch
  from sagemaker import image_uris
  from sagemaker.workflow.functions import Join
  from sagemaker.workflow.parameters import ParameterString
label_desc: Use image node_id 8 for calling a global function with example usage: test_retrieve_unsupported_version(config_for_framework) without return types