summaryrefslogtreecommitdiff
path: root/tests/basics/exception_chain.py
AgeCommit message (Collapse)Author
2023-10-09py/vm: Don't emit warning when using "raise ... from None".Matthias Urlichs
"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.
2015-09-01tests: Add test for exception-chaining raise syntax.Paul Sokolovsky