docstr: Tests that an error is raised if bijector is incorrect.
docstr_tok: ["Tests","that","an","error","is","raised","if","bijector","is","incorrect","."]
code: def testBadBijector(self):
      """Tests that an error is raised if bijector is incorrect."""
      model = TestModel(tfb.Identity())
      with self.assertRaisesRegex(
          AssertionError, "Arrays are not equal"
      ):
          self.validate_log_prob_and_transforms(
              model, sample_transformation_shapes=dict(identity=[])
          )
  
imports: import atexit
  import functools
  from absl import logging
  import jax
  import numpy
  import tensorflow.compat.v2
  import tensorflow.compat.v2
  import tensorflow_probability
  from tensorflow_probability.python.internal import test_util
  from inference_gym import targets
  from inference_gym.internal import test_util
label_desc: Use image node_id 3 for calling the InferenceGymTestCaseTest obj's underlying member method code with example usage: obj.testBadBijector() without return types