code: def test_unexpected_success_and_skip_in_cleanup(self):
      class Foo(unittest.TestCase):
          @unittest.expectedFailure
          def test_die(self):
              pass
  
          def tearDown(self):
              self.skipTest("skip")
  
      events = []
      result = LoggingResult(events)
      test = Foo("test_die")
      self.assertIs(test.run(result), result)
      self.assertEqual(events, ["startTest", "addSkip", "stopTest"])
      self.assertFalse(result.failures)
      self.assertFalse(result.expectedFailures)
      self.assertFalse(result.unexpectedSuccesses)
      self.assertEqual(result.skipped, [(test, "skip")])
      self.assertTrue(result.wasSuccessful())
  
imports: import unittest
  from test.test_unittest.support import LoggingResult
label_desc: Use image node_id 19 for calling the Test_TestSkipping obj's underlying member method code with example usage: obj.test_unexpected_success_and_skip_in_cleanup() without return types