code: def test_show_list(tmp_dir, dvc):
      tmp_dir.gen("params.yaml", "foo:\n- bar\n- baz\n")
      dvc.run(
          cmd="echo params.yaml", params=["foo"], name="echo-params"
      )
      assert dvc.params.show() == {
          "": {
              "data": {"params.yaml": {"data": {"foo": ["bar", "baz"]}}}
          }
      }
  
file_path: dvc/tests/func/params/test_show.py
imports: from os.path import join
  import pytest
  from dvc.repo import Repo
  from dvc.repo.stage import PROJECT_FILE
label_desc: Use image node_id 7 for calling a global function with example usage: test_show_list(tmp_dir, dvc) without return types