Commit 6caca325 authored by Damien George's avatar Damien George
Browse files

tests: Add test to print full KeyError exc from failed dict lookup.

parent 2750a7b3
......@@ -26,8 +26,8 @@ print({1:1} == {2:1})
# value not found
except KeyError:
except KeyError as er:
print('KeyError', er, repr(er), er.args)
# unsupported unary op
Supports Markdown
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