misc: raise AssertionError instead of Exception (interval) (#74090)
gitea-wip/chrono/pipeline/pr-main This commit looks good Details

This commit is contained in:
Lauréline Guérin 2023-02-02 14:41:33 +01:00
parent 104145e82c
commit c78147d283
No known key found for this signature in database
GPG Key ID: 1FAB9B9B4F93D473
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ class IntervalSet:
yield (c1[0], c2[0])
state = 3
else:
raise Exception('not reachable') # noqa pylint: disable=broad-exception-raised
raise AssertionError('not reachable')
return self.__class__.from_ordered(gen())