code: def testAssertsVariableScaleTril(self):
      df = 4
      scale_tril = tf.Variable([[-1.0, 0], [1.0, 0]])
      self.evaluate(scale_tril.initializer)
      with self.assertRaisesOpError(
          "`scale_tril` must be positive definite."
      ):
          d = wishart.WishartTriL(
              df=df, scale_tril=scale_tril, validate_args=True
          )
          self.evaluate(d.entropy())
  
      scale_tril = tf.Variable([[1.0, 0.0, 0.0], [1.0, 2.0, 0]])
      self.evaluate(scale_tril.initializer)
      with self.assertRaisesOpError("`scale_tril` must be square."):
          d = wishart.WishartTriL(
              df=df, scale_tril=scale_tril, validate_args=True
          )
          self.evaluate(d.event_shape_tensor())
  
imports: import numpy
  from scipy import linalg
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import categorical
  from tensorflow_probability.python.distributions import mixture_same_family
  from tensorflow_probability.python.distributions import wishart
  from tensorflow_probability.python.internal import tensorshape_util
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 28 for calling the WishartTest obj's underlying member method code with example usage: obj.testAssertsVariableScaleTril() without return types