diff options
Diffstat (limited to 'tests/basics/try_as_var.py')
-rw-r--r-- | tests/basics/try_as_var.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basics/try_as_var.py b/tests/basics/try_as_var.py index 0a92f1caee..4f02f9c106 100644 --- a/tests/basics/try_as_var.py +++ b/tests/basics/try_as_var.py @@ -1,7 +1,7 @@ try: raise ValueError(534) except ValueError as e: - print(repr(e)) + print(type(e), e.args) # Var bound in except block is automatically deleted try: |