diff options
Diffstat (limited to 'tests/micropython')
| -rw-r--r-- | tests/micropython/decorator.py | 7 | ||||
| -rw-r--r-- | tests/micropython/decorator.py.exp | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/micropython/decorator.py b/tests/micropython/decorator.py new file mode 100644 index 000000000..bf688968a --- /dev/null +++ b/tests/micropython/decorator.py @@ -0,0 +1,7 @@ +# test micropython-specific decorators + +@micropython.bytecode +def f(): + return 'bytecode' + +print(f()) diff --git a/tests/micropython/decorator.py.exp b/tests/micropython/decorator.py.exp new file mode 100644 index 000000000..b37707e7c --- /dev/null +++ b/tests/micropython/decorator.py.exp @@ -0,0 +1 @@ +bytecode |
