code: def test_config_show_origin_merged(tmp_dir, dvc, capsys):
      (tmp_dir / ".dvc" / "config").write_text(
          "['remote \"myremote\"']\n  url = s3://bucket/path\n  region = myregion\n"
      )
  
      (tmp_dir / ".dvc" / "config.local").write_text(
          "['remote \"myremote\"']\n  timeout = 100\n"
      )
  
      assert main(["config", "--list", "--show-origin"]) == 0
      out, _ = capsys.readouterr()
      assert (
          "{}\t{}\n".format(
              os.path.join(".dvc", "config"),
              "remote.myremote.url=s3://bucket/path",
          )
          in out
      )
  
      assert (
          "{}\t{}\n".format(
              os.path.join(".dvc", "config.local"),
              "remote.myremote.timeout=100",
          )
          in out
      )
  
imports: import os
  import textwrap
  import pytest
  from dvc.cli import main
  from dvc.config import Config, ConfigError
label_desc: Use image node_id 16 for calling a global function with example usage: test_config_show_origin_merged(tmp_dir, dvc, capsys) without return types