Commit 010043ca authored by Damien George's avatar Damien George
Browse files

Add "tracing" to try-reraise2.py test. It now fails.

parent f8ff700d
......@@ -4,16 +4,25 @@ def f():
raise ValueError("val", 3)
except:
try:
print(1)
raise TypeError
except:
print(2)
try:
print(3)
try:
print(4)
raise AttributeError
except:
print(5)
pass
print(6)
raise
except TypeError:
print(7)
pass
print(8)
print(9)
# This should raise original ValueError, not the most recently occurred AttributeError
raise
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment