code: def test_exclude_kwargs(self):
      @partial(np.vectorize, excluded=(2, "func"))
      def f_np(x, y, func=np.add):
          assert np.ndim(x) == np.ndim(y) == 0
          return func(x, y)
  
      @partial(jnp.vectorize, excluded=(2, "func"))
      def f_jnp(x, y, func=jnp.add):
          assert x.ndim == y.ndim == 0
          return func(x, y)
  
      x = np.arange(4, dtype="int32")
      y = np.int32(2)
  
      self.assertArraysEqual(f_np(x, y), f_jnp(x, y))
      self.assertArraysEqual(
          f_np(x, y, np.power), f_jnp(x, y, jnp.power)
      )
      self.assertArraysEqual(
          f_np(x, y, func=np.power), f_jnp(x, y, func=jnp.power)
      )
  
imports: from functools import partial
  from absl.testing import absltest
  import numpy
  import jax
  from jax import numpy
  from jax._src import test_util
  from jax import config
label_desc: Use image node_id 10 for calling the VectorizeTest obj's underlying member method code with example usage: obj.test_exclude_kwargs() and returns: func, func