diff options
Diffstat (limited to 'Lib/ni1.py')
-rw-r--r-- | Lib/ni1.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -412,8 +412,7 @@ def test(): try: testproper() except: - sys.last_type, sys.last_value, sys.last_traceback = ( - sys.exc_type, sys.exc_value, sys.exc_traceback) + sys.last_type, sys.last_value, sys.last_traceback = sys.exc_info() print print sys.last_type, ':', sys.last_value print |