code: def test_deprecated_for_class_lamda_predictor():
      with pytest.warns(DeprecationWarning) as w:
          LambdaPredictor()
          msg = (
              "LambdaPredictor is a no-op in sagemaker>=v2.66.3.\n"
              "See: https://sagemaker.readthedocs.io/en/stable/v2.html for details."
          )
          assert str(w[-1].message) == msg
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_deprecated_for_class_lamda_predictor() without return types