code: def test_extract_path_from_uri():
      mock_bucket = "mock-s3-bucket"
      dataset_path = f"s3://{mock_bucket}"
      dataset_path = extract_path_from_uri(dataset_path)
      assert dataset_path.startswith("s3://") is False
  
      dataset_path = "./local/path"
      new_dataset_path = extract_path_from_uri(dataset_path)
      assert dataset_path == new_dataset_path
  
file_path: datasets/tests/test_filesystem.py
imports: import importlib
  import os
  import fsspec
  import pytest
  from fsspec import register_implementation
  from fsspec.registry import _registry
  from datasets.filesystems import COMPRESSION_FILESYSTEMS, extract_path_from_uri, is_remote_filesystem
  from .utils import require_lz4, require_zstandard
label_desc: Use image node_id 3 for calling a global function with example usage: test_extract_path_from_uri() without return types