mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
tests/basics: Improve runtime.c test coverage.
This commit is contained in:
@@ -17,6 +17,11 @@ foo(*range(3))
|
||||
# pos then iterator
|
||||
foo(1, *range(2, 4))
|
||||
|
||||
# an iterator with many elements
|
||||
def foo(*rest):
|
||||
print(rest)
|
||||
foo(*range(10))
|
||||
|
||||
# method calls with *pos
|
||||
|
||||
class A:
|
||||
|
||||
Reference in New Issue
Block a user