summaryrefslogtreecommitdiff
path: root/test/input/func_noerror_indirect_interface.py
blob: 2b240f9702bf72999f2cbadb93323363fe9fd5ba (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"""

__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