code: def test_remote_modify_local_on_repo_config(tmp_dir, dvc):
      assert (
          main(["remote", "add", "myremote", "http://example.com/path"])
          == 0
      )
      assert (
          main(
              ["remote", "modify", "myremote", "user", "xxx", "--local"]
          )
          == 0
      )
      assert dvc.config.load_one("local")["remote"]["myremote"] == {
          "user": "xxx"
      }
      assert dvc.config.load_one("repo")["remote"]["myremote"] == {
          "url": "http://example.com/path"
      }
      dvc.config.load()
      assert dvc.config["remote"]["myremote"] == {
          "url": "http://example.com/path",
          "user": "xxx",
          "verify": False,
      }
  
imports: import errno
  import itertools
  import os
  import stat
  import configobj
  import pytest
  from dvc.cli import main
  from dvc.config import Config
  from dvc.exceptions import DownloadError, UploadError
  from dvc.utils.fs import remove
label_desc: Use image node_id 14 for calling a global function with example usage: test_remote_modify_local_on_repo_config(tmp_dir, dvc) without return types