code: def test_imresize():
      img = np.repeat(np.arange(100), 10).reshape((100, 10))
      assert imresize(img, (1024, 104)).shape == (1024, 104)
      assert imresize(img, (10.0, 10.0)).shape == (1000, 100)
      assert imresize(
          img,
          0.2,
      ).shape == (20, 2)
      assert imresize(img, (10.0, 2.0)).shape == (1000, 20)
  
imports: import mahotas
  from mahotas import imresize
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: test_imresize() without return types