code: def test_skip_class(self):
      @unittest.skip("testing")
      class Foo(unittest.TestCase):
          def defaultTestResult(self):
              return LoggingResult(events)
  
          def test_1(self):
              record.append(1)
  
      events = []
      record = []
      result = LoggingResult(events)
      test = Foo("test_1")
      suite = unittest.TestSuite([test])
      self.assertIs(suite.run(result), result)
      self.assertEqual(events, ["addSkip", "stopTest"])
      self.assertEqual(result.skipped, [(test, "testing")])
      self.assertEqual(record, [])
  
      events = []
      result = test.run()
      self.assertEqual(
          events, ["startTestRun", "addSkip", "stopTest", "stopTestRun"]
      )
      self.assertEqual(result.skipped, [(test, "testing")])
      self.assertEqual(record, [])
  
imports: import unittest
  from test.test_unittest.support import LoggingResult
label_desc: Use image node_id 4 for calling the Test_TestSkipping obj's underlying member method code with example usage: obj.test_skip_class() and returns: LoggingResult