code: def test_imresize(self):
      im = np.random.random((10, 20))
      for T in np.sctypes["float"] + [float]:
          # 1.1 rounds to below 1.1 for float16, 1.101 works
          with suppress_warnings() as sup:
              sup.filter(DeprecationWarning)
              im1 = misc.imresize(im, T(1.101))
          assert_equal(im1.shape, (11, 22))
  
imports: from __future__ import division, print_function, absolute_import
  import os.path
  import tempfile
  import shutil
  import numpy
  import glob
  import pytest
  from pytest import raises
  from numpy.testing import assert_equal, assert_allclose, assert_array_equal, assert_
  from scipy._lib._numpy_compat import suppress_warnings
  from scipy import misc
  from numpy.ma.testutils import assert_mask_equal
label_desc: Use image node_id 1 for calling the TestPILUtil obj's underlying member method code with example usage: obj.test_imresize() without return types