code: def test_nested_exception_in_else(self):
      hit_else = False
      hit_finally = False
      hit_except = False
      hit_inner_except = False
      hit_inner_else = False
  
      try:
          try:
              pass
          except:
              hit_inner_except = True
          else:
              hit_inner_else = True
              raise Exception("outer exception")
      except:
          hit_except = True
      else:
          hit_else = True
      finally:
          hit_finally = True
  
      self.assertFalse(hit_inner_except)
      self.assertTrue(hit_inner_else)
      self.assertFalse(hit_else)
      self.assertTrue(hit_finally)
      self.assertTrue(hit_except)
  
imports: import unittest
label_desc: Use image node_id 13 for calling the ExceptTestCases obj's underlying member method code with example usage: obj.test_nested_exception_in_else() without return types