code: def test_median_pool_ksize_1_3():
      # very basic test, as median_pool() just calls pool(), which is tested in
      # test_pool()
      arr = np.uint8(
          [[0, 1, 2, 3], [4, 5, 6, 7], [8, 9, 10, 11], [12, 13, 14, 15]]
      )
  
      arr_pooled = ia.median_pool(arr, (1, 3))
  
      assert arr_pooled.shape == (4, 2)
      assert arr_pooled.dtype == arr.dtype.type
      assert arr_pooled[0, 0] == int(np.median([0, 1, 2]))
      assert arr_pooled[0, 1] == int(np.median([3, 2, 1]))
      assert arr_pooled[1, 0] == int(np.median([4, 5, 6]))
      assert arr_pooled[1, 1] == int(np.median([7, 6, 5]))
      assert arr_pooled[2, 0] == int(np.median([8, 9, 10]))
      assert arr_pooled[2, 1] == int(np.median([11, 10, 9]))
      assert arr_pooled[3, 0] == int(np.median([12, 13, 14]))
      assert arr_pooled[3, 1] == int(np.median([15, 14, 13]))
  
imports: from __future__ import print_function, division, absolute_import
  import time
  import warnings
  import sys
  import matplotlib
  import numpy
  import six.moves
  import cv2
  import imgaug
  from imgaug import dtypes
  import imgaug.random
  from imgaug.testutils import assertWarns
label_desc: Use image node_id 33 for calling a global function with example usage: test_median_pool_ksize_1_3() without return types