code: def test_volume_roudtrip(tmp_path):
      # regression test for
      # https://github.com/imageio/imageio/issues/818
  
      expected_volume = np.full((23, 123, 456, 3), 42, dtype=np.uint8)
      iio.imwrite(tmp_path / "volume.tiff", expected_volume)
  
      # assert that the file indeed contains a volume
      with tifffile.TiffFile(tmp_path / "volume.tiff") as file:
          assert file.series[0].shape == (23, 123, 456, 3)
          assert len(file.series) == 1
  
      actual_volume = iio.imread(tmp_path / "volume.tiff")
      assert np.allclose(actual_volume, expected_volume)
  
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 17 for calling a global function with example usage: test_volume_roudtrip(tmp_path) without return types