code: def test_multi(tmpdir):
      testtif = tmpdir.join("/mahotas_test.tif")
      f = np.zeros((16, 16), np.uint8)
      fs = []
      for t in range(8):
          f[:t, :t] = t
          fs.append(f.copy())
      freeimage.write_multipage(fs, testtif)
      fs2 = freeimage.read_multipage(testtif)
      for f, f2 in zip(fs, fs2):
          assert np.all(f == f2)
  
file_path: mahotas/mahotas/tests/test_freeimage.py
imports: import numpy
  from os import path
label_desc: Use image node_id 7 for calling a global function with example usage: test_multi(tmpdir) without return types