summaryrefslogtreecommitdiff
path: root/tests/basics/async_with2.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-09-28 11:52:13 +1000
committerDamien George <damien.p.george@gmail.com>2016-09-28 11:52:13 +1000
commitb32c01b7489f233ae7b1c211a8b93e23149fb0f3 (patch)
tree23a03c04dd038925e6c5990e437ad1689e08d0df /tests/basics/async_with2.py
parent443cc0114d7669471e39661c97e2bad91c8eabb8 (diff)
py/compile: Fix async-for/async-with to work with simpler exc on stack.
There is now just the exception instance on the stack when an exception is raised, not the full (type, exc, traceback).
Diffstat (limited to 'tests/basics/async_with2.py')
-rw-r--r--tests/basics/async_with2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basics/async_with2.py b/tests/basics/async_with2.py
index 0ebec489f..44421ae91 100644
--- a/tests/basics/async_with2.py
+++ b/tests/basics/async_with2.py
@@ -20,7 +20,7 @@ class AContext:
print('enter')
print('f returned:', await f(10))
async def __aexit__(self, exc_type, exc, tb):
- print('exit')
+ print('exit', exc_type, exc)
print('f returned:', await f(20))
async def coro():