summaryrefslogtreecommitdiff
path: root/tests/micropython/const.py
diff options
context:
space:
mode:
authorjc_.kim <jc_.kim@samsung.com>2020-07-13 19:22:58 +0900
committerDamien George <damien@micropython.org>2021-11-17 14:28:20 +1100
commit19f09414a624914b29188b23f9d0da7d4b04e358 (patch)
tree76aa791b4ef58744f530bdd29c75f95815fb464f /tests/micropython/const.py
parent43d08688c398184013bbfb0190e2529e4032e003 (diff)
tests/micropython/const.py: Add comment about required config for test.
Expected result of const.py will be matched only when MICROPY_COMP_CONST is enabled. For easy understanding, added description at the first of the test code.
Diffstat (limited to 'tests/micropython/const.py')
-rw-r--r--tests/micropython/const.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/micropython/const.py b/tests/micropython/const.py
index 1faf22be9..1c805a45f 100644
--- a/tests/micropython/const.py
+++ b/tests/micropython/const.py
@@ -1,4 +1,5 @@
# test constant optimisation
+# This test will only work when MICROPY_COMP_CONST is enabled.
from micropython import const