code: def get_dataset() -> Callable:
      # TODO Support memory filesystem on Windows.
      if torch_geometric.typing.WITH_WINDOWS:
          root = osp.join("/", "tmp", "pyg_test_datasets")
      else:
          root = "memory://pyg_test_datasets"
  
      yield functools.partial(load_dataset, root)
  
      fs.rm(root)
  
file_path: pytorch_geometric/test/conftest.py
imports: import functools
  import logging
  import os.path
  from typing import Callable
  import pytest
  import torch
  import torch_geometric.typing
  from torch_geometric.data import Dataset
  from torch_geometric.io import fs
label_desc: Use image node_id 2 for calling a global function with example usage: get_dataset() without return types