void () { doTestByText(""" from typing_extensions import final @final class A: @final def <weak_warning descr="No need to mark method in 'Final' class as '@final'">method</weak_warning>(self): pass"""); }