2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-21 09:26:29 +08:00
artiq/lit-test/test/inferencer/exception.py

14 lines
259 B
Python
Raw Normal View History

# RUN: %python -m artiq.compiler.testbench.inferencer %s >%t
2015-06-29 03:48:15 +08:00
# RUN: OutputCheck %s --file-to-check=%t
# CHECK-L: Exception:<constructor Exception {}>
2015-06-29 03:48:15 +08:00
Exception
2015-06-29 05:31:06 +08:00
try:
pass
except Exception:
pass
except Exception as e:
# CHECK-L: e:Exception
e