diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-04-19 21:54:06 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-04-19 21:54:06 +0300 |
commit | efc36f0cea84931ac055979d52e261afc912c3dd (patch) | |
tree | f49f7344db89b77433c274762d7302aacdb95aa4 /tests/basics | |
parent | d6e12723edd40ce80bbaf49d11fd978b248b4dfc (diff) | |
download | micropython-efc36f0cea84931ac055979d52e261afc912c3dd.tar.gz micropython-efc36f0cea84931ac055979d52e261afc912c3dd.zip |
test/class-super: Expose super() breakage.
Diffstat (limited to 'tests/basics')
-rw-r--r-- | tests/basics/class-super.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/basics/class-super.py b/tests/basics/class-super.py index 6a87b2fd00..0f2852a479 100644 --- a/tests/basics/class-super.py +++ b/tests/basics/class-super.py @@ -1,7 +1,10 @@ class Base: + def __init__(self): + self.a = 1 + def meth(self): - print("in Base meth") + print("in Base meth", self.a) class Sub(Base): |