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)
      iio3.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 = iio3.imread(tmp_path / "volume.tiff")
      assert np.allclose(actual_volume, expected_volume)
  
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 13 for calling a global function with example usage: test_volume_roudtrip(tmp_path) without return types