code: def test_multipage_read(tmp_path):
      # regression test for
      # https://github.com/imageio/imageio/issues/818
  
      filename = tmp_path / "flat.tiff"
  
      # this creates a TIFF with two flat images (non-volumetric)
      expected_flat = np.full((35, 73, 3), 114, dtype=np.uint8)
      iio.imwrite(
          filename, [expected_flat, expected_flat], is_batch=True
      )
  
      actual_flat = iio.imread(filename)
      assert np.allclose(actual_flat, expected_flat)
  
      for idx, series in enumerate(iio.imiter(filename)):
          assert np.allclose(series, expected_flat)
      assert idx == 1
  
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 18 for calling a global function with example usage: test_multipage_read(tmp_path) without return types