Commit 5a12137c authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

tests: Add test for accessing attribute of inherited native type.

parent 443857de
class MyExc(Exception):
pass
e = MyExc(100, "Some error")
print(e)
# TODO: Prints native base class name
#print(repr(e))
print(e.args)
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