Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

duplicate_bases.py 352B

123456789101112131415
  1. """Test duplicate bases error."""
  2. # pylint: disable=missing-docstring,too-few-public-methods,no-init
  3. class Duplicates(str, str): # [duplicate-bases]
  4. pass
  5. class Alpha(str):
  6. pass
  7. class NotDuplicates(Alpha, str):
  8. """The error should not be emitted for this case, since the
  9. other same base comes from the ancestors."""