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 testZeroPowerRaisesError(self):
      with self.assertRaisesRegexp(Exception, "must be non-zero"):
          b = power_lib.Power(power=0.0, validate_args=True)
          b.forward(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 5 for calling the RaiseBijectorTest obj's underlying member method code with example usage: obj.testZeroPowerRaisesError() without return types