code: def test_apply_gufunc_pass_additional_kwargs():
      def foo(x, bar):
          assert bar == 2
          return x
  
      ret = apply_gufunc(foo, "()->()", 1.0, output_dtypes=float, bar=2)
      assert_eq(ret, np.array(1.0, dtype=float))
  
imports: from __future__ import annotations
  import numpy
  import pytest
  from numpy.testing import assert_equal
  import dask.array
  from dask.array.core import Array
  from dask.array.gufunc import _parse_gufunc_signature, _validate_normalize_axes, apply_gufunc, as_gufunc, gufunc
  from dask.array.utils import assert_eq
label_desc: Use image node_id 11 for calling a global function with example usage: test_apply_gufunc_pass_additional_kwargs() and returns: x