mirror of
https://github.com/micropython/micropython.git
synced 2026-05-02 05:40:12 +02:00
5ddc551bc4
Document this in cpydiff and add a test with expected output for coverage testing. As discussed in #11441, the code growth from handling this case seems to outweigh the benefit of implementing it properly. Closes: #11439 Signed-off-by: Jeff Epler <jepler@unpythonic.net>
9 lines
281 B
Python
9 lines
281 B
Python
# A CPython syntax feature not supported by MicroPython. For more information
|
|
# see `this issue <https://github.com/micropython/micropython/issues/11439>`_.
|
|
# and tests/cpydiff/core_function_star.py
|
|
|
|
try:
|
|
exec("f(y=1, *(3,))")
|
|
except SyntaxError as e:
|
|
print("SyntaxError")
|