This repository has been archived on 2025-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
multipub/.pyenv/lib/python3.7/site-packages/pylint/test/functional/duplicate_bases.py
2019-02-09 02:45:25 -06:00

15 lines
352 B
Python

"""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."""