class_docstr: Test the deprecation decorator for keyword arguments.
class_docstr_tok: ["Test","the","deprecation","decorator","for","keyword","arguments","."]
code: def test_replaced_by_keyword_missing_signature_error(self, recwarn):
      @deprecated_keyword_arg("b", "1.3.0", replaced_by="c")
      def simple_addition(a=1, b=Deprecated):
          result = a if b is Deprecated else a + b
          return result
  
      exc_msg = "Deprecated keyword replacement not found in function signature."
      with pytest.raises(ValueError, match=exc_msg):
          simple_addition(a=1)
  
file_path: adversarial-robustness-toolbox/tests/utils/test_utils.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  import pytest
  from art.utils import Deprecated, deprecated, deprecated_keyword_arg
label_desc: Use image node_id 5 for calling the TestDeprecatedKeyword obj's underlying member method code with example usage: obj.test_replaced_by_keyword_missing_signature_error(recwarn) and returns: result