class_docstr: Tests correctness of the Y = scale @ x transformation.
code: def testRaisesWhenSingular(self):
      with self.assertRaisesRegexp(
          Exception,
          ".*Singular operator:  Diagonal contained zero values.*",
      ):
          bijector = scale_matvec_tril.ScaleMatvecTriL(
              # Has zero on the diagonal.
              scale_tril=[[0.0, 0.0], [1.0, 1.0]],
              validate_args=True,
          )
          self.evaluate(bijector.forward([1.0, 1.0]))
  
file_path: probability/tensorflow_probability/python/bijectors/scale_matvec_tril_test.py
imports: from absl.testing import parameterized
  import numpy
  from tensorflow_probability.python.bijectors import scale_matvec_tril
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 3 for calling the ScaleMatvecTriLTest obj's underlying member method code with example usage: obj.testRaisesWhenSingular() without return types