code: def test_multipage_read(tmp_path):
      # regression test for
      # https://github.com/imageio/imageio/issues/818
  
      # this creates a TIFF with two flat images (non-volumetric)
      # Note: our plugin currently can't do this, but tifffile itself can
      expected_flat = np.full((35, 73, 3), 114, dtype=np.uint8)
      with tifffile.TiffWriter(tmp_path / "flat.tiff") as file:
          file.write(expected_flat)
          file.write(expected_flat)
  
      actual_flat = iio3.imread(tmp_path / "flat.tiff")
      assert np.allclose(actual_flat, expected_flat)
  
      for idx, page in enumerate(iio3.imiter(tmp_path / "flat.tiff")):
          assert np.allclose(page, expected_flat)
      assert idx == 1
  
imports: import datetime
  import io
  import warnings
  from copy import deepcopy
  import numpy
  import pytest
  from conftest import deprecated_test
  import imageio.v2
  import imageio.v3
  from imageio.config import known_extensions, known_plugins
label_desc: Use image node_id 14 for calling a global function with example usage: test_multipage_read(tmp_path) without return types