code: def testResizeWithUnusualShapes(self):
      x = jnp.ones((3, 4))
      # Array shapes are accepted
      self.assertEqual(
          (10, 17),
          jax.image.resize(x, jnp.array((10, 17)), "nearest").shape,
      )
      with self.assertRaises(TypeError):
          # Fractional shapes are disallowed
          jax.image.resize(x, [10.5, 17], "bicubic")
  
imports: from functools import partial
  import unittest
  import numpy
  from absl.testing import absltest
  import jax
  from jax import image
  from jax import numpy
  from jax._src import test_util
  from jax import config
label_desc: Use image node_id 11 for calling the ImageTest obj's underlying member method code with example usage: obj.testResizeWithUnusualShapes() without return types