code: def test_check_nopython_kwargs():
      pytest.importorskip("numba")
  
      def incorrect_function(values, index):
          return values + 1
  
      data = DataFrame(
          {
              "key": ["a", "a", "b", "b", "a"],
              "data": [1.0, 2.0, 3.0, 4.0, 5.0],
          },
          columns=["key", "data"],
      )
      with pytest.raises(
          NumbaUtilError, match="numba does not support"
      ):
          data.groupby("key").transform(
              incorrect_function, engine="numba", a=1
          )
  
      with pytest.raises(
          NumbaUtilError, match="numba does not support"
      ):
          data.groupby("key")["data"].transform(
              incorrect_function, engine="numba", a=1
          )
  
file_path: pandas/pandas/tests/groupby/transform/test_numba.py
imports: import numpy
  import pytest
  from pandas.errors import NumbaUtilError
  from pandas import DataFrame, Series, option_context
  import pandas._testing
label_desc: Use image node_id 2 for calling a global function with example usage: test_check_nopython_kwargs() and returns: unknown