code: def testRollAxisOutOfRangeRaises(self):
      tensor = [1, 2]
      shift = 1
      axis = 1
      with self.cached_session():
          with self.assertRaisesRegex(
              errors_impl.InvalidArgumentError, "is out of range"
          ):
              manip_ops.roll(tensor, shift, axis).eval()
  
imports: import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors_impl
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gradient_checker
  from tensorflow.python.ops import manip_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 18 for calling the RollTest obj's underlying member method code with example usage: obj.testRollAxisOutOfRangeRaises() without return types