summaryrefslogtreecommitdiff
path: root/tests/micropython/const_error.py
diff options
context:
space:
mode:
authorScott Shawcroft <scott@chickadee.tech>2016-10-10 11:42:59 -0700
committerScott Shawcroft <scott@chickadee.tech>2016-10-10 11:42:59 -0700
commita52fd670e66e72dc60d460016a2f1f03a65dbeb6 (patch)
tree3b5af151ff68fcbf772e5348efd43d770445508c /tests/micropython/const_error.py
parenta6254f4344be4f54232149adb5d834ab9561846c (diff)
parent89bfbfdeee2c86a18ccab6dce41bbd3e4597c981 (diff)
Merge remote-tracking branch 'micropython/master'
Diffstat (limited to 'tests/micropython/const_error.py')
-rw-r--r--tests/micropython/const_error.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/micropython/const_error.py b/tests/micropython/const_error.py
index b46efcae2..6d3d135b5 100644
--- a/tests/micropython/const_error.py
+++ b/tests/micropython/const_error.py
@@ -1,5 +1,7 @@
# make sure syntax error works correctly for bad const definition
+from micropython import const
+
def test_syntax(code):
try:
exec(code)