blob: cbd1ae43e34822ef4a47109da3d08efa5fbd47ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
"""shows a bug where pylint can't find interfaces when they are
used indirectly. See input/indirect[123].py for details on the
setup"""
# pylint: disable=old-style-class, too-few-public-methods, no-absolute-import
__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
|