diff options
Diffstat (limited to 'tests/micropython/const_error.py')
-rw-r--r-- | tests/micropython/const_error.py | 2 |
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) |