code: def test_for_no_vars(self, l, type_, xla):
      if type_ is _int_tensor and xla and not l:
          self.skipTest("Empty loops not supported in XLA")
  
      l = type_(l)
      self.assertFunctionMatchesEager(
          for_no_vars, l, tf.Variable(0), xla=xla
      )
  
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 2 for calling the ReferenceTest obj's underlying member method code with example usage: obj.test_for_no_vars(l, type_, xla) without return types