summaryrefslogtreecommitdiff
path: root/tests/micropython/decorator.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/micropython/decorator.py')
-rw-r--r--tests/micropython/decorator.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/micropython/decorator.py b/tests/micropython/decorator.py
index bf688968a..2e7cf1777 100644
--- a/tests/micropython/decorator.py
+++ b/tests/micropython/decorator.py
@@ -1,7 +1,9 @@
# test micropython-specific decorators
+
@micropython.bytecode
def f():
- return 'bytecode'
+ return "bytecode"
+
print(f())