code: def testRaisesBadBlocks(self):
      with self.assertRaisesRegexp(
          ValueError,
          r"`block_sizes` must be `None`, or a vector of the same length as "
          r"`bijectors`. Got a `Tensor` with shape \(2L?,\) and `bijectors` of "
          r"length 1",
      ):
          blockwise.Blockwise(bijectors=[exp.Exp()], block_sizes=[1, 2])
  
imports: from absl.testing import parameterized
  import mock
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import bijector_test_util
  from tensorflow_probability.python.bijectors import blockwise
  from tensorflow_probability.python.bijectors import exp
  from tensorflow_probability.python.bijectors import inline
  from tensorflow_probability.python.bijectors import scale
  from tensorflow_probability.python.bijectors import scale_matvec_diag
  from tensorflow_probability.python.bijectors import softmax_centered
  from tensorflow_probability.python.bijectors import softplus
  from tensorflow_probability.python.internal import tensorshape_util
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 8 for calling the BlockwiseBijectorTest obj's underlying member method code with example usage: obj.testRaisesBadBlocks() without return types