blob: 51b329a4fbf87ba9e6c11b4b994b0a483b1f0259 [file] [log] [blame]
"""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."""
print(Duplicates.__mro__)