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:
4
tests/basics/string_escape_invalid.py
Normal file
4
tests/basics/string_escape_invalid.py
Normal file
@@ -0,0 +1,4 @@
|
||||
# Test invalid escape characters.
|
||||
# CPython issues a SyntaxWarning for this.
|
||||
|
||||
print("\z")
|
||||
Reference in New Issue
Block a user