void () { doTestByText(""" from typing_extensions import final from abc import ABC, abstractmethod @final class <warning descr="'Final' class could not contain abstract methods">A</warning>(ABC): @abstractmethod def <warning descr="'Final' class could not contain abstract methods">method</warning>(self): pass \s class B(ABC): @final def method(self): pass \s class C(ABC): @final @abstractmethod def <warning descr="'Final' could not be mixed with abstract decorators">method</warning>(self): pass"""); }