Statistics
| Revision:

gvsig-scripting / org.gvsig.scripting / trunk / org.gvsig.scripting / org.gvsig.scripting.app / org.gvsig.scripting.app.mainplugin / src / main / resources-plugin / scripting / lib / pylint / test / functional / duplicate_bases.py @ 745

History | View | Annotate | Download (352 Bytes)

1
"""Test duplicate bases error."""
2
# pylint: disable=missing-docstring,too-few-public-methods,no-init
3

    
4

    
5
class Duplicates(str, str): # [duplicate-bases]
6
    pass
7

    
8

    
9
class Alpha(str):
10
    pass
11

    
12

    
13
class NotDuplicates(Alpha, str):
14
    """The error should not be emitted for this case, since the
15
    other same base comes from the ancestors."""