code: def testBoundariesNotList(self):
      with self.session():
          with self.assertRaisesRegex(TypeError, "Expected list.*"):
              p = array_ops.placeholder(dtypes.int32)
              with self.test_scope():
                  math_ops._bucketize(p, boundaries=0)
  
file_path: tensorflow-upstream/tensorflow/compiler/tests/bucketize_op_test.py
imports: from tensorflow.compiler.tests import xla_test
  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.testBoundariesNotList() without return types