class_docstr: Test the deprecation decorator functions and methods.
class_docstr_tok: ["Test","the","deprecation","decorator","functions","and","methods","."]
code: def test_deprecated_reason_keyword(self, recwarn):
      @deprecated("1.3.0", reason="With some reason message.")
      def simple_addition(a, b):
          return a + b
  
      warn_msg_expected = (
          "Function 'simple_addition' is deprecated and will be removed in future release 1.3.0."
          "\nWith some reason message."
      )
  
      simple_addition(1, 2)
      warn_obj = recwarn.pop(DeprecationWarning)
      assert str(warn_obj.message) == warn_msg_expected
  
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 2 for calling the TestDeprecated obj's underlying member method code with example usage: obj.test_deprecated_reason_keyword(recwarn) and returns: unknown