code: def test_hydra_sweep_requires_queue(params_repo, dvc):
      with pytest.raises(
          InvalidArgumentError,
          match="Sweep overrides can't be used without `--queue`",
      ):
          dvc.experiments.run(params=["db=mysql,postgresql"])
  
file_path: dvc/tests/func/experiments/test_set_params.py
imports: import pytest
  from dvc.exceptions import InvalidArgumentError
  from tests.func.utils.test_hydra import hydra_setup
label_desc: Use image node_id 4 for calling a global function with example usage: test_hydra_sweep_requires_queue(params_repo, dvc) without return types