tests/basics: Move str/bytes tests that give SyntaxWarning to sep file.
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>
This commit is contained in:
3
tests/basics/bytes_escape_unicode.py
Normal file
3
tests/basics/bytes_escape_unicode.py
Normal file
@@ -0,0 +1,3 @@
|
||||
# Coverage test for unicode escape in a bytes literal.
|
||||
# CPython issues a SyntaxWarning for this.
|
||||
print(b"\u1234")
|
||||
Reference in New Issue
Block a user