summaryrefslogtreecommitdiff
path: root/pylint/test/functional/duplicate_bases.py
blob: 974f975841107c2321a9164b09da5eaa517d75a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"""Test duplicate bases error."""
# pylint: disable=missing-docstring,too-few-public-methods,no-init


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


class Alpha(str):
    pass


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