Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
5a12137c
Commit
5a12137c
authored
Apr 29, 2014
by
Paul Sokolovsky
Browse files
tests: Add test for accessing attribute of inherited native type.
parent
443857de
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/basics/subclass-native3.py
0 → 100644
View file @
5a12137c
class
MyExc
(
Exception
):
pass
e
=
MyExc
(
100
,
"Some error"
)
print
(
e
)
# TODO: Prints native base class name
#print(repr(e))
print
(
e
.
args
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment