code: def test_auth_error_pull(tmp_dir, scm, dvc, http_auth_patch):
      from dvc.scm import GitAuthError
  
      with pytest.raises(
          GitAuthError,
          match=f"Authentication failed for: '{http_auth_patch}'",
      ):
          dvc.experiments.pull(http_auth_patch, ["foo"])
  
file_path: dvc/tests/func/experiments/test_remote.py
imports: import logging
  import pytest
  from funcy import first
  from dvc.repo.experiments.utils import exp_refs_by_rev
label_desc: Use image node_id 13 for calling a global function with example usage: test_auth_error_pull(tmp_dir, scm, dvc, http_auth_patch) without return types