code: def test_pure_python_process_pool_run(synthetic_dataset):
      reader_throughput(
          synthetic_dataset.url,
          ["id"],
          warmup_cycles_count=5,
          measure_cycles_count=5,
          pool_type=WorkerPoolType.PROCESS,
          loaders_count=1,
          read_method=ReadMethod.PYTHON,
          spawn_new_process=False,
      )
  
file_path: petastorm/petastorm/tests/test_benchmark.py
imports: from time import sleep
  import six
  from unittest import mock
  from petastorm.benchmark.throughput import reader_throughput, _time_warmup_and_work, WorkerPoolType, ReadMethod
label_desc: Use image node_id 1 for calling a global function with example usage: test_pure_python_process_pool_run(synthetic_dataset) without return types