misc: raise AssertionError instead of Exception (interval) (#74090) #35

Merged
lguerin merged 1 commits from wip/74090-interval-exception into main 2023-02-02 16:21:00 +01:00
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())