code: def testInvalidP(self):
      invalid_ps = [-0.01, -0.01, -2.0]
      with self.assertRaisesOpError("must be positive"):
          geom = geometric.Geometric(
              probs=invalid_ps, validate_args=True
          )
          self.evaluate(geom.mean())
  
      invalid_ps = [1.1, 3.0, 5.0]
      with self.assertRaisesOpError("must be less than or equal to 1"):
          geom = geometric.Geometric(
              probs=invalid_ps, validate_args=True
          )
          self.evaluate(geom.mean())
  
imports: import numpy
  from scipy import stats
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import geometric
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 2 for calling the GeometricTest obj's underlying member method code with example usage: obj.testInvalidP() without return types