'Tests overriding final methods on instances of a class.'

def test_override_on_instance(self):

    class SubClass(self.class_, ):
        def h(self):
            pass
    s = SubClass()
    with self.assertRaises(TypeError):
        s.f = (lambda self: 'SubClass:    f')
    with self.assertRaises(TypeError):
        s.a = (lambda self: 'SubClass:    a')
