code: def test_git_credential_parsing_regex(self) -> None:
      output = """
              credential.helper = store
              credential.helper = cache --timeout 30000
          credential.helper = osxkeychain"""
      assert _parse_credential_output(output) == [
          "cache",
          "osxkeychain",
          "store",
      ]
  
file_path: huggingface_hub/tests/test_utils_git_credentials.py
imports: import time
  import unittest
  from pathlib import Path
  import pytest
  from huggingface_hub.constants import ENDPOINT
  from huggingface_hub.utils import run_interactive_subprocess, run_subprocess
  from huggingface_hub.utils._git_credential import _parse_credential_output, list_credential_helpers, set_git_credential, unset_git_credential
label_desc: Use image node_id 4 for calling the TestGitCredentials obj's underlying member method code with example usage: obj.test_git_credential_parsing_regex() without return types