code: def test_write_file(tmp_path):
      # regression test for
      # https://github.com/imageio/imageio/issues/810
      img = np.zeros((32, 32), dtype=np.uint16)
      iio3.imwrite(tmp_path / "v.tif", img)
  
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 8 for calling a global function with example usage: test_write_file(tmp_path) without return types