code: def test_tiff_page_writing():
      # regression test for
      # https://github.com/imageio/imageio/issues/849
      base_image = np.full((256, 256, 3), 42, dtype=np.uint8)
  
      buffer = io.BytesIO()
      iio3.imwrite(buffer, base_image, extension=".tiff")
      buffer.seek(0)
  
      with tifffile.TiffFile(buffer) as file:
          assert len(file.pages) == 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 10 for calling a global function with example usage: test_tiff_page_writing() without return types