code: def test_uint16(tmpdir):
      img = np.zeros((32, 32), dtype=np.uint16)
      fname = tmpdir.join("mahotas_test.png")
      freeimage.imsave(fname, img)
      img_ = freeimage.imread(fname)
  
      assert img.shape == img_.shape
      assert img.dtype == img_.dtype
      assert np.all(img == img_)
  
file_path: mahotas/mahotas/tests/test_freeimage.py
imports: import numpy
  from os import path
label_desc: Use image node_id 8 for calling a global function with example usage: test_uint16(tmpdir) without return types