code: def test_write_read_float32_tiff(tmpdir):
      filename = tmpdir / "grayscale_float32.tiff"
      img_data = np.linspace(0, 1.0, 32 * 32, dtype=np.float32).reshape(
          (32, 32, 1)
      )
      file_io.write_tiff(img_data, filename)
      img_data_recovered = file_io.read_tiff(filename)
      np.testing.assert_array_equal(img_data_recovered, img_data)
  
file_path: kubric/test/test_fileio.py
imports: import numpy
  import pytest
  from kubric import file_io
label_desc: Use image node_id 9 for calling a global function with example usage: test_write_read_float32_tiff(tmpdir) without return types