code: def testApplyBucketsWithInterpolationAllNanBoundariesRaises(self):
      with tf.compat.v1.Graph().as_default():
          with self.test_session() as sess:
              x = tf.constant([float("-inf"), float("nan"), 0.0, 1.0])
              boundaries = tf.constant(
                  [[float("nan"), float("nan"), float("nan")]]
              )
              with self.assertRaisesRegexp(
                  tf.errors.InvalidArgumentError, "num_boundaries"
              ):
                  sess.run(
                      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 37 for calling the MappersTest obj's underlying member method code with example usage: obj.testApplyBucketsWithInterpolationAllNanBoundariesRaises() without return types