code: def test_imresize4(self):
      im = np.array([[1, 2], [3, 4]])
      # Check that resizing by target size, float and int are the same
      with suppress_warnings() as sup:
          sup.filter(DeprecationWarning)
          im2 = misc.imresize(im, (4, 4), mode="F")  # output size
          im3 = misc.imresize(im, 2.0, mode="F")  # fraction
          im4 = misc.imresize(im, 200, mode="F")  # percentage
      assert_equal(im2, im3)
      assert_equal(im2, im4)
  
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 4 for calling the TestPILUtil obj's underlying member method code with example usage: obj.test_imresize4() without return types