capture_exceptions bug
Doesn't raise the first exception in case it is use in finally. The following code should report RunTimeError instead of ZeroDivisionError
from bliss.common import cleanup
try:
raise RuntimeError("Bang!!!")
finally:
with cleanup.capture_exceptions(raise_index=0) as capture:
1/0