code: def test_instantiate_args_kwargs_with_override(
      cfg: Any, args_override: Any, expected: Any, kwargs_override: Any
  ) -> None:
      assert (
          instantiate(cfg, *args_override, **kwargs_override)
          == expected
      )
  
file_path: hydra/tests/instantiate/test_positional.py
imports: from textwrap import dedent
  from typing import Any
  from pytest import mark, param, raises
  from hydra.errors import InstantiationException
  from hydra.utils import instantiate
  from tests.instantiate import ArgsClass
label_desc: Use image node_id 4 for calling a global function with example usage: test_instantiate_args_kwargs_with_override(cfg, args_override, expected, kwargs_override) without return types