code: def test_batched_buffer_stream_through(batch_size):
      """Feed a 0:99 sequence through a BatchedNoopShufflingBuffer. Check that the order has not changed."""
      expected = list(range(100))
      actual = _feed_a_sequence_through_the_queue(
          BatchedNoopShufflingBuffer(batch_size), expected
      )
      assert expected == actual
  
file_path: petastorm/petastorm/tests/test_shuffling_buffer.py
imports: import numpy
  import pytest
  import six
  from petastorm.reader_impl.shuffling_buffer import NoopShufflingBuffer, RandomShufflingBuffer
  from petastorm.reader_impl.pytorch_shuffling_buffer import BatchedNoopShufflingBuffer, BatchedRandomShufflingBuffer
label_desc: Use image node_id 10 for calling a global function with example usage: test_batched_buffer_stream_through(batch_size) without return types