code: def tmp_fs_path(request, tmp_path) -> str:
      if request.param == "file":
          return tmp_path.resolve().as_posix()
      elif request.param == "memory":
          return f"memory://{tmp_path}"
      raise NotImplementedError
  
file_path: pytorch_geometric/test/io/test_fs.py
imports: import zipfile
  from os import path
  import fsspec
  import pytest
  import torch
  import torch_geometric.typing
  from torch_geometric.data import extract_zip
  from torch_geometric.io import fs
  from torch_geometric.testing import noWindows
label_desc: Use image node_id 1 for calling a global function with example usage: tmp_fs_path(request, tmp_path) and returns: tmp_path, str, tmp_path