class_docstr: Tests the correctness of the Y = X ** K transformation.
class_docstr_tok: ["Tests","the","correctness","of","the","Y","=","X","*","*","K","transformation","."]
code: def testPowerNegativeInputRaisesError(self):
      with self.assertRaisesOpError("must be non-negative"):
          b = power_lib.Power(power=2.5, validate_args=True)
          self.evaluate(b.inverse(-1.0))
  
      b = power_lib.Power(power=3.0, validate_args=True)
      self.evaluate(b.inverse(-1.0))
  
file_path: probability/tensorflow_probability/python/bijectors/power_test.py
imports: from absl.testing import parameterized
  import numpy
  from tensorflow_probability.python.bijectors import bijector_test_util
  from tensorflow_probability.python.bijectors import power
  from tensorflow_probability.python.bijectors import reciprocal
  from tensorflow_probability.python.bijectors import square
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 6 for calling the RaiseBijectorTest obj's underlying member method code with example usage: obj.testPowerNegativeInputRaisesError() without return types