code: def test_with_message():
      def my_func():
          raise AttributeError("Failed")
  
      assert_raises(AttributeError, func=my_func, message="Failed")
  
label_desc: Use image node_id 2 for calling a global function with example usage: test_with_message() without return types