code: def random_shape(size):
      """
      Output random dimensions in the range (2, MAX_TEST_SIZE)
      """
      aux = np.random.randint(MAX_TEST_SIZE - 1, size=size) + 2
      if size == 1:
          return aux
      else:
          return tuple(aux)
  
file_path: nipy/nipy/labs/bindings/tests/test_array.py
imports: import numpy
  from numpy.testing import assert_almost_equal, assert_array_equal
  from ..None import array_add, array_div, array_get, array_get_block, array_mul, array_sub
label_desc: Use image node_id 1 for calling a global function with example usage: random_shape(size) and returns: aux, tuple