diff options
Diffstat (limited to 'tests/pybnative/for.py')
-rw-r--r-- | tests/pybnative/for.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/pybnative/for.py b/tests/pybnative/for.py index 309c6c14f..50177a9ba 100644 --- a/tests/pybnative/for.py +++ b/tests/pybnative/for.py @@ -1,15 +1,19 @@ import pyb + @micropython.native def f1(n): for i in range(n): print(i) + f1(4) + @micropython.native def f2(r): for i in r: print(i) + f2(range(4)) |