summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/exception_chain.py
Commit message (Collapse)AuthorAge
* py/vm: Don't emit warning when using "raise ... from None".Matthias Urlichs2023-10-09
| | | | | | "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.
* tests: Add test for exception-chaining raise syntax.Paul Sokolovsky2015-09-01