code: def testUniformIntsWithInvalidShape(self):
      for dtype in dtypes.int32, dtypes.int64:
          with self.assertRaisesRegex(
              ValueError,
              "minval must be a scalar; got a tensor of shape",
          ):
              random_ops.random_uniform(
                  [1000], minval=[1, 2], maxval=3, dtype=dtype
              )
          with self.assertRaisesRegex(
              ValueError,
              "maxval must be a scalar; got a tensor of shape",
          ):
              random_ops.random_uniform(
                  [1000], minval=1, maxval=[2, 3], dtype=dtype
              )
  
imports: import numpy
  from tensorflow.python.eager import context
  from tensorflow.python.framework import config
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import random_seed
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gen_random_ops
  from tensorflow.python.ops import random_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
label_desc: Use image node_id 4 for calling the RandomUniformTest obj's underlying member method code with example usage: obj.testUniformIntsWithInvalidShape() without return types