code: def test_fit_mwms_unsupported(time, strftime, sagemaker_session):
      with pytest.raises(ValueError) as error:
          tf = TensorFlow(
              entry_point=SCRIPT_FILE,
              framework_version="2.8",
              py_version="py39",
              role=ROLE,
              sagemaker_session=sagemaker_session,
              instance_type=INSTANCE_TYPE,
              instance_count=1,
              source_dir=DATA_DIR,
              distribution=DISTRIBUTION_MWMS_ENABLED,
          )
          inputs = "s3://mybucket/train"
          tf.fit(inputs=inputs)
  
      assert "only supported from" in str(error)
      assert "but received" in str(error)
  
      with pytest.raises(ValueError) as error:
          tf = TensorFlow(
              entry_point=SCRIPT_FILE,
              framework_version="2.10",
              py_version="py39",
              role=ROLE,
              sagemaker_session=sagemaker_session,
              instance_type="ml.p4d.24xlarge",
              instance_count=4,
              source_dir=DATA_DIR,
              distribution={
                  **DISTRIBUTION_MWMS_ENABLED,
                  **{
                      "smdistributed": {
                          "dataparallel": {"enabled": True}
                      }
                  },
              },
          )
          inputs = "s3://mybucket/train"
          tf.fit(inputs=inputs)
      assert "is currently not supported" in str(error)
      assert "following distribution strategies" in str(error)
  
imports: from __future__ import absolute_import
  import json
  import logging
  import os
  from mock import patch, Mock, MagicMock
  from packaging import version
  import pytest
  from sagemaker.estimator import _TrainingJob
  from sagemaker.session_settings import SessionSettings
  from sagemaker.tensorflow import TensorFlow
  from sagemaker.instance_group import InstanceGroup
  from sagemaker.workflow.parameters import ParameterString, ParameterBoolean
  from tests.unit import DATA_DIR
label_desc: Use image node_id 15 for calling a global function with example usage: test_fit_mwms_unsupported(time, strftime, sagemaker_session) without return types