code: def test_error(arguments, message, func_kwargs, msg_expected):
      @deprecated_kwargs(*arguments, message=message)
      def simple_sum(alpha, beta, a=0, b=0):
          return alpha + beta
  
      with pytest.raises(ValueError, match=msg_expected):
          simple_sum(1, 2, **func_kwargs)
  
imports: import pytest
  from janitor.utils import deprecated_kwargs
label_desc: Use image node_id 1 for calling a global function with example usage: test_error(arguments, message, func_kwargs, msg_expected) and returns: unknown