code: def test_sparkml(load_config):
      VERSIONS = load_config["versions"]
      for version in VERSIONS:
          ACCOUNTS = load_config["versions"][version]["registries"]
          for region in ACCOUNTS.keys():
              uri = image_uris.retrieve(
                  "sparkml-serving", region=region, version=version
              )
  
              expected = expected_uris.algo_uri(
                  "sagemaker-sparkml-serving",
                  ACCOUNTS[region],
                  region,
                  version=version,
              )
              assert expected == uri
  
imports: from __future__ import absolute_import
  import pytest
  from sagemaker import image_uris
  from tests.unit.sagemaker.image_uris import expected_uris
label_desc: Use image node_id 1 for calling a global function with example usage: test_sparkml(load_config) without return types