misc: raise AssertionError instead of Exception (interval) (#74090)
gitea-wip/chrono/pipeline/pr-main This commit looks good
Details
gitea-wip/chrono/pipeline/pr-main This commit looks good
Details
This commit is contained in:
parent
104145e82c
commit
c78147d283
|
@ -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())
|
||||
|
||||
|
|
Loading…
Reference in New Issue