code: def test_wrong_toolkit_format(sagemaker_session):
      with pytest.raises(ValueError) as e:
          RLEstimator(
              toolkit="coach",
              framework=RLFramework.TENSORFLOW,
              toolkit_version=RLEstimator.COACH_LATEST_VERSION_TF,
              entry_point=SCRIPT_PATH,
              role=ROLE,
              sagemaker_session=sagemaker_session,
              instance_count=INSTANCE_COUNT,
              instance_type=INSTANCE_TYPE,
              framework_version=None,
          )
  
      assert "Invalid type" in str(e.value)
  
imports: from __future__ import absolute_import
  import json
  import logging
  import os
  import pytest
  from mock import MagicMock, Mock, patch
  from sagemaker.mxnet import MXNetModel, MXNetPredictor
  from sagemaker.rl import RLEstimator, RLFramework, RLToolkit, TOOLKIT_FRAMEWORK_VERSION_MAP
  from sagemaker.session_settings import SessionSettings
  from sagemaker.tensorflow import TensorFlowModel, TensorFlowPredictor
label_desc: Use image node_id 18 for calling a global function with example usage: test_wrong_toolkit_format(sagemaker_session) without return types