code: def test_fail_distributed_training(
      sagemaker_session, sklearn_version
  ):
      with pytest.raises(AttributeError) as error:
          SKLearn(
              entry_point=SCRIPT_PATH,
              role=ROLE,
              sagemaker_session=sagemaker_session,
              instance_count=DIST_INSTANCE_COUNT,
              instance_type=INSTANCE_TYPE,
              py_version=PYTHON_VERSION,
              framework_version=sklearn_version,
          )
      assert (
          "Scikit-Learn does not support distributed training."
          in str(error)
      )
  
imports: from __future__ import absolute_import
  import logging
  import json
  import os
  import pytest
  from mock import Mock
  from mock import patch
  from sagemaker.fw_utils import UploadedCode
  from sagemaker.session_settings import SessionSettings
  from sagemaker.sklearn import SKLearn, SKLearnModel, SKLearnPredictor
label_desc: Use image node_id 13 for calling a global function with example usage: test_fail_distributed_training(sagemaker_session, sklearn_version) without return types