code: def sweep_two_config_groups(
      hydra_sweep_runner: TSweepRunner,
      overrides: List[str],
      task_function: Optional[TaskFunction],
      temp_dir: Path,
  ) -> None:
      """
      Make sure that optimizers=adam,nesterov is interpreted correctly
      """
      overrides = copy.deepcopy(overrides)
      overrides.extend(["group1=file1,file2"])
      sweep = hydra_sweep_runner(
          calling_file=None,
          calling_module="hydra.test_utils.a_module",
          task_function=task_function,
          config_path="configs",
          config_name="compose",
          overrides=overrides,
          temp_dir=temp_dir,
      )
      expected_overrides = [["group1=file1"], ["group1=file2"]]
      expected_conf = [
          OmegaConf.create({"foo": 10, "bar": 100}),
          OmegaConf.create({"foo": 20, "bar": 100}),
      ]
      with sweep:
          assert sweep.returns is not None
          assert len(sweep.returns[0]) == 2
          for i in range(2):
              job_ret = sweep.returns[0][i]
              assert job_ret.overrides == expected_overrides[i]
              assert job_ret.cfg == expected_conf[i]
              verify_dir_outputs(job_ret, job_ret.overrides)
  
imports: import copy
  import os
  import re
  from pathlib import Path
  from typing import Any, Callable, List, Optional, Set
  from omegaconf import DictConfig, OmegaConf
  from pytest import mark, param, raises
  from hydra import TaskFunction
  from hydra.errors import HydraException
  from hydra.test_utils.test_utils import TSweepRunner, integration_test, verify_dir_outputs
label_desc: Use image node_id 3 for calling a global function with example usage: sweep_two_config_groups(hydra_sweep_runner, overrides, task_function, temp_dir) without return types