void () { doTest("int", """ class Base1: def test(self, param: int) -> int: pass class Base2: def test(self, param: str) -> str: pass class Subclass(Base1, Base2): def test(self, param): expr = param"""); }