code: def test_multiple_images_roundtrip(tmp_path):
      filename = tmp_path / "test.tiff"
      expected = np.ones((10, 10, 3), np.uint8) * 2
  
      iio.imwrite(filename, [expected] * 3, is_batch=True)
  
      # read all series as batch
      actual = iio.imread(filename, index=...)
      assert actual.shape == (3, 10, 10, 3)
  
      # read each series individually
      for idx in range(3):
          actual = iio.imread(filename, index=idx)
          np.testing.assert_allclose(actual, expected)
  
imports: import datetime
  import numpy
  import pytest
  import io
  from copy import deepcopy
  import struct
  import imageio.v3
  from imageio.config import known_plugins, known_extensions
label_desc: Use image node_id 3 for calling a global function with example usage: test_multiple_images_roundtrip(tmp_path) without return types