blob: 66e37575e6333d092076fb3b29a42a045eec1424 (
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 .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
|