8000 test/class-super: Expose super() breakage. · errordeveloper/micropython@efc36f0 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Commit efc36f0

Browse files
committed
test/class-super: Expose super() breakage.
1 parent d6e1272 commit efc36f0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/basics/class-super.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
class Base:
22

3+
def __init__(self):
4+
self.a = 1
5+
36
def meth(self):
4-
print("in Base meth")
7+
print("in Base meth", self.a)
58

69
class Sub(Base):
710

0 commit comments

Comments
 (0)
0