code: def test_class_not_torndown_when_setup_fails(self):
      class Test(unittest.TestCase):
          tornDown = False
  
          @classmethod
          def setUpClass(cls):
              raise TypeError
  
          @classmethod
          def tearDownClass(cls):
              Test.tornDown = True
              raise TypeError("foo")
  
          def test_one(self):
              pass
  
      self.runTests(Test)
      self.assertFalse(Test.tornDown)
  
imports: import io
  import sys
  import unittest
label_desc: Use image node_id 8 for calling the TestSetups obj's underlying member method code with example usage: obj.test_class_not_torndown_when_setup_fails() without return types