code: def test_simple_read(synthetic_dataset, reader_factory):
      with DataLoader(
          reader_factory(
              synthetic_dataset.url,
              schema_fields=BATCHABLE_FIELDS,
              transform_spec=TransformSpec(_sensor_name_to_int),
          )
      ) as loader:
          _check_simple_reader(
              loader,
              synthetic_dataset.data,
              BATCHABLE_FIELDS - {TestSchema.sensor_name},
          )
  
imports: from decimal import Decimal
  from packaging import version
  import numpy
  import pyarrow
  import pytest
  import torch
  from petastorm import make_reader, TransformSpec, make_batch_reader
  from petastorm.pytorch import _sanitize_pytorch_types, DataLoader, BatchedDataLoader, decimal_friendly_collate, InMemBatchedDataLoader, _load_rows_into_mem
  from petastorm.tests.test_common import TestSchema
label_desc: Use image node_id 3 for calling a global function with example usage: test_simple_read(synthetic_dataset, reader_factory) without return types