void () { doTestByText(""" import abc class Foo: __metaclass__ = abc.ABCMeta @abc.abstractmethod def get_int(self): pass def foo(self, i): # type: (int) -> None print(i) def bar(self): self.foo(self.get_int())"""); }