tests: Add test for accessing attribute of inherited native type.
This commit is contained in:
parent
443857de98
commit
5a12137c3e
|
@ -0,0 +1,8 @@
|
|||
class MyExc(Exception):
|
||||
pass
|
||||
|
||||
e = MyExc(100, "Some error")
|
||||
print(e)
|
||||
# TODO: Prints native base class name
|
||||
#print(repr(e))
|
||||
print(e.args)
|
Loading…
Reference in New Issue