'Tests that attempting to create a subclass that overrides a final
method will raise a `TypeError`.'

def test_override_final_no_decorator(self):

    with self.assertRaises(TypeError):
        class SubClass(self.class_, ):
            def f(self):
                return 'SubClass:    f'
