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.
123456789101112 |
- """Test for duplicate-check."""
-
- def main():
- """The second ValueError should be flagged."""
- try:
- raise ValueError('test')
- except ValueError:
- return 1
- except ValueError: # [duplicate-except]
- return 2
- except (OSError, TypeError):
- return 3
|