mirror of
https://fuchsia.googlesource.com/third_party/github.com/pylint-dev/pylint
synced 2024-09-22 00:24:37 +00:00
17 lines
438 B
Python
17 lines
438 B
Python
|
"""shows a bug where pylint can't find interfaces when they are
|
||
|
used indirectly. See input/indirect[123].py for details on the
|
||
|
setup"""
|
||
|
|
||
|
__revision__ = None
|
||
|
|
||
|
from input.indirect2 import AbstractToto
|
||
|
|
||
|
class ConcreteToto(AbstractToto):
|
||
|
"""abstract to implements an interface requiring machin to be defined"""
|
||
|
def __init__(self):
|
||
|
self.duh = 2
|
||
|
|
||
|
def machin(self):
|
||
|
"""for ifacd"""
|
||
|
return self.helper()*2
|