code: def test_creates_var_imbalanced_illegal(
      self, target, c, type_, exc_type, exc_regex
  ):
      c = type_(c)
      with self.assertRaisesRegex(exc_type, exc_regex):
          tf.function(target)(c)
  
imports: import itertools
  import re
  from absl.testing import parameterized
  import tensorflow
  from tensorflow.python.autograph.tests import reference_test_base
label_desc: Use image node_id 5 for calling the ReferenceTest obj's underlying member method code with example usage: obj.test_creates_var_imbalanced_illegal(target, c, type_, exc_type, exc_regex) without return types