summaryrefslogtreecommitdiff
path: root/tests/micropython/const2.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/micropython/const2.py')
-rw-r--r--tests/micropython/const2.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/micropython/const2.py b/tests/micropython/const2.py
index fb4588435..60085a1e0 100644
--- a/tests/micropython/const2.py
+++ b/tests/micropython/const2.py
@@ -1,5 +1,7 @@
# check that consts are not replaced in anything except standalone identifiers
+from micropython import const
+
X = const(1)
Y = const(2)
Z = const(3)