code: def test_url_to_local_path():
      """Test URL to local path."""
      assert _url_to_local_path(
          "http://google.com/home/why.html", "."
      ) == op.join(".", "home", "why.html")
  
file_path: mne-python/mne/utils/tests/test_testing.py
imports: import os.path
  from pathlib import Path
  import numpy
  import pytest
  from mne.datasets import testing
  from mne.utils import _TempDir, _url_to_local_path, buggy_mkl_svd
label_desc: Use image node_id 4 for calling a global function with example usage: test_url_to_local_path() without return types