summaryrefslogtreecommitdiff
path: root/tests/micropython/const_error.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/micropython/const_error.py')
-rw-r--r--tests/micropython/const_error.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/micropython/const_error.py b/tests/micropython/const_error.py
index 395fe0f77..d35be530a 100644
--- a/tests/micropython/const_error.py
+++ b/tests/micropython/const_error.py
@@ -19,7 +19,7 @@ test_syntax("A = const(1); A = const(2)")
# these operations are not supported within const
test_syntax("A = const(1 @ 2)")
test_syntax("A = const(1 / 2)")
-test_syntax("A = const(1 ** 2)")
+test_syntax("A = const(1 ** -2)")
test_syntax("A = const(1 << -2)")
test_syntax("A = const(1 >> -2)")
test_syntax("A = const(1 % 0)")