docstr: Tests overriding final methods and attributes on the class object
  itself.
docstr_tok: ["Tests","overriding","final","methods","and","attributes","on","the","class","object","itself","."]
code: def test_override_on_class_object(self):
      """
      Tests overriding final methods and attributes on the class object
      itself.
      """
  
      class SubClass(self.class_):
          pass
  
      with self.assertRaises(TypeError):
          SubClass.f = lambda self: "SubClass: f"
  
      with self.assertRaises(TypeError):
          SubClass.a = "SubClass: a"
  
imports: from abc import abstractmethod, ABCMeta
  from unittest import TestCase
  from six import with_metaclass
  from zipline.utils.final import FinalMeta, final
  from zipline.utils.metautils import compose_types
label_desc: Use image node_id 8 for calling the FinalMetaTestCase obj's underlying member method code with example usage: obj.test_override_on_class_object() without return types