tests: Add some bytecode tests.

This commit is contained in:
Damien George
2014-04-12 18:00:32 +01:00
parent 0a4c210586
commit c2803db010
2 changed files with 19 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
def f(a, b=1, *c, d):
pass
#print(a,b,c,d) # bug in uPy!
f = lambda a, b, *c, d: None # default arg
#f = lambda a, b=1, *c, d: None # default arg for lambda not implemented