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:
Damien George
2024-05-28 10:52:12 +10:00
parent dd4767a7d1
commit 30a9ccf4ca
9 changed files with 26 additions and 17 deletions

View File

@@ -2,7 +2,6 @@
print(b'123')
print(br'123')
print(rb'123')
print(b'\u1234')
# construction
print(bytes())