diff options
Diffstat (limited to 'tests/micropython/native_const.py')
-rw-r--r-- | tests/micropython/native_const.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/micropython/native_const.py b/tests/micropython/native_const.py index 37b491cf4..b48499550 100644 --- a/tests/micropython/native_const.py +++ b/tests/micropython/native_const.py @@ -1,14 +1,21 @@ # test loading constants in native functions + @micropython.native def f(): - return b'bytes' + return b"bytes" + + print(f()) + @micropython.native def f(): @micropython.native def g(): return 123 + return g + + print(f()()) |