code: def randint(self, minval, maxval=None, size=1):
      if maxval is None:
          minval, maxval = 0, minval
      out = np.zeros(size, dtype="int64")
      if self.val == 0:
          return out + minval
      else:
          return out + maxval - 1
  
imports: from __future__ import absolute_import, print_function, division
  from copy import copy, deepcopy
  from functools import wraps
  import logging
  import sys
  import unittest
  from parameterized import parameterized
  from nose.tools import assert_raises
  from six import integer_types
  from six.moves import StringIO
  import numpy
  import theano
  import theano.tensor
  from theano import config
label_desc: Use image node_id 3 for calling the MockRandomState obj's underlying member method code with example usage: obj.randint(minval, maxval, size) and returns: unknown, unknown