code: def test_contigous_writing(tmp_path):
      filename = tmp_path / "test.tiff"
      data = np.full((128, 128, 3), 42, np.uint8)
  
      with tifffile.TiffWriter(filename) as tw:
          tw.write(data, contiguous=True)
          tw.write(data, contiguous=True)
          tw.write(data, contiguous=True)
          tw.write(data, contiguous=True)
  
      metadata = iio.immeta(filename)
      assert metadata["is_shaped"] is True
      assert metadata["shape"] == [4, 128, 128, 3]
  
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 22 for calling a global function with example usage: test_contigous_writing(tmp_path) without return types