code: def test_error_conditional_hyper_parameters_value(
      sagemaker_session, conditional_hyper_parameters
  ):
      with pytest.raises(ValueError):
          test_params = ALL_REQ_ARGS.copy()
          test_params.update(conditional_hyper_parameters)
          KNN(sagemaker_session=sagemaker_session, **test_params)
  
imports: from __future__ import absolute_import
  import pytest
  from mock import Mock, patch
  from sagemaker import image_uris
  from sagemaker.amazon.knn import KNN, KNNPredictor
  from sagemaker.amazon.amazon_estimator import RecordSet
  from sagemaker.session_settings import SessionSettings
label_desc: Use image node_id 11 for calling a global function with example usage: test_error_conditional_hyper_parameters_value(sagemaker_session, conditional_hyper_parameters) without return types