micropython/tests/basics/exception_chain.py.exp
Matthias Urlichs 3fb1bb131f py/vm: Don't emit warning when using "raise ... from None".
"Raise SomeException() from None" is a common Python idiom to suppress
chained exceptions and thus shouldn't trigger a warning on a version of
Python that doesn't support them in the first place.
2023-10-09 09:46:02 +11:00

4 lines
85 B
Plaintext

Caught Exception
Warning: exception chaining not supported
Caught Exception: Runtime