diff options
Diffstat (limited to 'tests/cpydiff/syntax_assign_expr.py')
-rw-r--r-- | tests/cpydiff/syntax_assign_expr.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/cpydiff/syntax_assign_expr.py b/tests/cpydiff/syntax_assign_expr.py index d4ed063b3..58f57ca1f 100644 --- a/tests/cpydiff/syntax_assign_expr.py +++ b/tests/cpydiff/syntax_assign_expr.py @@ -4,4 +4,5 @@ description: MicroPython allows using := to assign to the variable of a comprehe cause: MicroPython is optimised for code size and doesn't check this case. workaround: Do not rely on this behaviour if writing CPython compatible code. """ + print([i := -1 for i in range(4)]) |