tests: Add some bytecode tests.
This commit is contained in:
parent
0a4c210586
commit
c2803db010
|
@ -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
|
|
@ -0,0 +1,14 @@
|
|||
from . import bar
|
||||
from .. import bar
|
||||
from ... import bar
|
||||
from .... import bar
|
||||
from ..... import bar
|
||||
from ...... import bar
|
||||
from . import bar as abc
|
||||
from .foo import bar
|
||||
from ..foo import bar
|
||||
from ...foo import bar
|
||||
from .foo.bar import baz
|
||||
from ..foo.bar import baz
|
||||
from ...foo.bar import baz
|
||||
from .foo.bar import baz as abc
|
Loading…
Reference in New Issue