code: def test_while_else(self, n1, n2, type_):
      n1 = type_(n1)
      n2 = type_(n2)
      with self.assertRaisesRegex(NotImplementedError, "while/else"):
          tf.function(while_else)(n1, n2)
  
imports: import functools
  import itertools
  from absl.testing import parameterized
  import tensorflow
  from tensorflow.python.autograph.tests import reference_test_base
label_desc: Use image node_id 11 for calling the ReferenceTest obj's underlying member method code with example usage: obj.test_while_else(n1, n2, type_) without return types