code: def testInvalidBoundariesOrder(self):
      op = math_ops._bucketize(
          constant_op.constant([-5, 0]), boundaries=[0, 8, 3, 11]
      )
      with self.session():
          with self.assertRaisesRegex(
              errors_impl.InvalidArgumentError,
              "Expected sorted boundaries",
          ):
              self.evaluate(op)
  
file_path: tensorflow-upstream/tensorflow/python/kernel_tests/math_ops/bucketize_op_test.py
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 math_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 5 for calling the BucketizationOpTest obj's underlying member method code with example usage: obj.testInvalidBoundariesOrder() without return types