code: def test_update_undefined_pipeline():
      session = LocalSession()
      parameter = ParameterString("MyStr", default_value="test")
      pipeline = Pipeline(
          name="UndefinedPipeline",
          parameters=[parameter],
          steps=[CustomStep(name="MyStep", input_data=parameter)],
          sagemaker_session=session,
      )
  
      with pytest.raises(ClientError) as e:
          session.sagemaker_client.update_pipeline(
              pipeline, "some_description"
          )
      assert "Pipeline {} does not exist".format(pipeline.name) in str(
          e.value
      )
  
imports: from __future__ import absolute_import
  import jsonschema
  import pytest
  import urllib3
  import os
  from botocore.exceptions import ClientError
  from mock import Mock, patch
  from tests.unit import DATA_DIR, SAGEMAKER_CONFIG_SESSION
  import sagemaker
  from sagemaker.workflow.parameters import ParameterString
  from sagemaker.workflow.pipeline import Pipeline
  from tests.unit.sagemaker.workflow.helpers import CustomStep
  from sagemaker.local.local_session import LocalSession
  from sagemaker.local.entities import _LocalPipelineExecution
label_desc: Use image node_id 35 for calling a global function with example usage: test_update_undefined_pipeline() without return types