code: def testAssertValidSample(self):
      dist = uniform.Uniform(low=2.0, high=5.0, validate_args=True)
      with self.assertRaisesOpError(
          "must be greater than or equal to `low`"
      ):
          self.evaluate(dist.cdf([2.3, 1.7, 4.0]))
      with self.assertRaisesOpError(
          "must be less than or equal to `high`"
      ):
          self.evaluate(dist.survival_function([2.3, 5.2, 4.0]))
  
imports: import numpy
  from scipy import stats
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import kullback_leibler
  from tensorflow_probability.python.distributions import uniform
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.math import gradient
label_desc: Use image node_id 23 for calling the UniformTest obj's underlying member method code with example usage: obj.testAssertValidSample() without return types