class_docstr: Base class for the reference tests.
code: def test_nested_ifs_and_context_managers(self, x, type_):
      self.assertFunctionMatchesEager(
          nested_ifs_and_context_managers, type_(x)
      )
  
imports: import itertools
  from absl.testing import parameterized
  import tensorflow
  from tensorflow.python.autograph.tests import reference_test_base
label_desc: Use image node_id 7 for calling the ReferenceTest obj's underlying member method code with example usage: obj.test_nested_ifs_and_context_managers(x, type_) without return types