code: def test_normalize_shuffle_partitions(synthetic_dataset):
      dataset = pq.ParquetDataset(synthetic_dataset.path)
      row_drop_partitions = Reader._normalize_shuffle_options(
          2, dataset
      )
      assert row_drop_partitions == 2
  
      row_drop_partitions = Reader._normalize_shuffle_options(
          1000, dataset
      )
      assert row_drop_partitions == 10
  
file_path: petastorm/petastorm/tests/test_reader.py
imports: from time import sleep
  import pyarrow.parquet
  import pytest
  from petastorm import make_reader
  from petastorm.reader import Reader
label_desc: Use image node_id 3 for calling a global function with example usage: test_normalize_shuffle_partitions(synthetic_dataset) without return types