code: def spawn_context():
      torch.multiprocessing.set_start_method("spawn", force=True)
      logging.info("Setting torch.multiprocessing context to 'spawn'")
  
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 6 for calling a global function with example usage: spawn_context() without return types