From 010043caaf1bf791ab23315d7f5977472e312276 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sun, 30 Mar 2014 00:39:15 +0000 Subject: [PATCH] Add "tracing" to try-reraise2.py test. It now fails. --- tests/basics/try-reraise2.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/basics/try-reraise2.py b/tests/basics/try-reraise2.py index 9ab8d9c099..d9434397c2 100644 --- a/tests/basics/try-reraise2.py +++ b/tests/basics/try-reraise2.py @@ -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