code: def test_subclass(self):
      try:
  
          class C(bool):
              pass
  
      except TypeError:
          pass
      else:
          self.fail("bool should not be subclassable")
  
      self.assertRaises(TypeError, int.__new__, bool, 0)
  
imports: import unittest
  from test.support import os_helper
  import os
label_desc: Use image node_id 1 for calling the BoolTest obj's underlying member method code with example usage: obj.test_subclass() without return types