circuitpython/tests/basics/exception_chain.py
2015-09-01 10:39:11 +03:00

7 lines
174 B
Python

# Exception chaining is not supported, but check that basic
# exception works as expected.
try:
raise Exception from None
except Exception:
print("Caught Exception")