code: def test_hydra_sweeps(overrides, expected):
      from dvc.utils.hydra import get_hydra_sweeps
  
      assert get_hydra_sweeps(overrides) == expected
  
file_path: dvc/tests/func/utils/test_hydra.py
imports: from contextlib import nullcontext
  import pytest
  from dvc.exceptions import InvalidArgumentError
label_desc: Use image node_id 9 for calling a global function with example usage: test_hydra_sweeps(overrides, expected) without return types