code: def test_modify_params(params_repo, dvc, changes, expected):
      dvc.experiments.run(params=changes)
      with open("params.yaml") as fobj:
          assert fobj.read().strip() == expected
  
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 1 for calling a global function with example usage: test_modify_params(params_repo, dvc, changes, expected) without return types