mirror of
https://github.com/W3SLAV/micropython.git
synced 2025-06-19 20:15:33 -04:00

In CPython 3.12 these invalid str/bytes/fstring escapes will issue a SyntaxWarning, and so differ to MicroPython. Signed-off-by: Damien George <damien@micropython.org>
4 lines
115 B
Python
4 lines
115 B
Python
# Coverage test for unicode escape in a bytes literal.
|
|
# CPython issues a SyntaxWarning for this.
|
|
print(b"\u1234")
|