summaryrefslogtreecommitdiff
path: root/tests/basics/async_with.py
AgeCommit message (Collapse)Author
2019-02-26py/compile: Fix handling of unwinding BaseException in async with.Damien George
All exceptions that unwind through the async-with must be caught and BaseException is the top-level class, which includes Exception and others. Fixes issue #4552.
2016-10-11tests: Improve test coverage of py/compile.c.Damien George
2016-09-28py/compile: Fix async-for/async-with to work with simpler exc on stack.Damien George
There is now just the exception instance on the stack when an exception is raised, not the full (type, exc, traceback).
2016-04-13tests: Add 6 tests for async await/for/with.Damien George