code: def test_removed_kwargs():
      kwarg = {"a": 1}
      removed_kwargs("b", kwarg)
  
      with pytest.warns(DeprecationWarning):
          kwarg = {"a": 1, "b": 3}
          removed_kwargs("b", kwarg)
  
file_path: sagemaker-python-sdk/tests/unit/test_deprecations.py
imports: from __future__ import absolute_import
  import pytest
  from sagemaker.deprecations import deprecated_class, deprecated_deserialize, deprecated_function, deprecated_serialize, removed_arg, removed_function, removed_kwargs, renamed_kwargs, deprecation_warning, deprecated
label_desc: Use image node_id 3 for calling a global function with example usage: test_removed_kwargs() without return types