code: def test_rebase_donate_argnums_rejects_overlapping(
      self, donate, static
  ):
      with self.assertRaisesRegex(ValueError, "cannot intersect"):
          api_util.rebase_donate_argnums(donate, static)
  
file_path: jax/tests/api_util_test.py
imports: import itertools
  from absl.testing import absltest
  from absl.testing import parameterized
  from jax._src import api_util
  from jax import numpy
  from jax._src import test_util
  from jax import config
label_desc: Use image node_id 2 for calling the ApiUtilTest obj's underlying member method code with example usage: obj.test_rebase_donate_argnums_rejects_overlapping(donate, static) without return types