code: def test_model_bias_monitor_creation_failure(
      model_bias_monitor, sagemaker_session
  ):
      sagemaker_session.sagemaker_client.create_monitoring_schedule = (
          Mock(side_effect=Exception("400"))
      )
      with pytest.raises(Exception):
          _test_model_bias_monitor_create_schedule(
              model_bias_monitor=model_bias_monitor,
              sagemaker_session=sagemaker_session,
              analysis_config=ANALYSIS_CONFIG_S3_URI,
              constraints=CONSTRAINTS,
          )
      assert model_bias_monitor.job_definition_name is None
      assert model_bias_monitor.monitoring_schedule_name is None
      sagemaker_session.sagemaker_client.create_model_bias_job_definition.assert_called_once()
      sagemaker_session.sagemaker_client.delete_model_bias_job_definition.assert_called_once()
  
imports: from __future__ import print_function, absolute_import
  import copy
  import json
  import time
  from mock import patch, Mock, MagicMock
  import pytest
  from sagemaker.clarify import BiasConfig, DataConfig, ModelConfig, SHAPConfig, ModelPredictedLabelConfig
  from sagemaker.model_monitor import BiasAnalysisConfig, Constraints, CronExpressionGenerator, EndpointInput, BatchTransformInput, ExplainabilityAnalysisConfig, ModelBiasMonitor, ModelExplainabilityMonitor, MonitoringExecution, NetworkConfig
  from sagemaker.model_monitor.clarify_model_monitoring import ClarifyModelMonitor, ClarifyBaseliningJob, ClarifyMonitoringExecution
  from sagemaker.model_monitor.dataset_format import MonitoringDatasetFormat
label_desc: Use image node_id 26 for calling a global function with example usage: test_model_bias_monitor_creation_failure(model_bias_monitor, sagemaker_session) without return types