code: def testApplyBucketsWithInterpolationRaises(self):
      # We should raise an exception if you try to scale a non-numeric tensor.
      with self.test_session():
          x = tf.constant(["a", "b", "c"], dtype=tf.string)
          boundaries = tf.constant([0.2, 0.4], dtype=tf.float32)
          with self.assertRaises(ValueError):
              mappers.apply_buckets_with_interpolation(x, boundaries)
  
imports: import numpy
  import tensorflow
  from tensorflow_transform import mappers
  from tensorflow_transform import test_case
label_desc: Use image node_id 38 for calling the MappersTest obj's underlying member method code with example usage: obj.testApplyBucketsWithInterpolationRaises() without return types