code: def wrong_output_datatype_func_fixture():
      """
      Register a scalar function whose actual output DataType doesn't
      match the declared output DataType.
      """
  
      def wrong_output_datatype(ctx, array):
          return pc.call_function("add", [array, 1])
  
      func_name = "test_wrong_output_datatype"
      in_types = {"array": pa.int64()}
      # The actual output DataType will be int64.
      out_type = pa.int16()
      doc = {
          "summary": "return wrong output datatype",
          "description": "",
      }
      pc.register_scalar_function(
          wrong_output_datatype, func_name, doc, in_types, out_type
      )
      return wrong_output_datatype, func_name
  
imports: import pytest
  import numpy
  import pyarrow
  from pyarrow import compute
label_desc: Use image node_id 11 for calling a global function with example usage: wrong_output_datatype_func_fixture() and returns: wrong_output_datatype,  func_name, pc