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.
123456789101112131415 |
- """
- Check for indexing exceptions.
- """
- # pylint: disable=import-error, no-absolute-import
-
- from unknown import ExtensionException
- __revision__ = 0
-
- class SubException(IndexError):
- """ empty """
-
- _ = IndexError("test")[0] # [indexing-exception]
- _ = ZeroDivisionError("error")[0] # [indexing-exception]
- _ = ExtensionException("error")[0]
- _ = SubException("error")[1] # [indexing-exception]
|