diff options
author | Damien George <damien@micropython.org> | 2024-05-28 10:52:12 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-05-28 10:58:37 +1000 |
commit | 30a9ccf4caa72c62cb8656a1572518fef34b08a4 (patch) | |
tree | 125f373f880e1b3e1b632d1d5e2f5e90665e8cc3 /tests/basics/string1.py | |
parent | dd4767a7d1ba57f107a652310fdfbd0f0274a0c8 (diff) |
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>
Diffstat (limited to 'tests/basics/string1.py')
-rw-r--r-- | tests/basics/string1.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/basics/string1.py b/tests/basics/string1.py index b3abfb9c6..ca8dfd539 100644 --- a/tests/basics/string1.py +++ b/tests/basics/string1.py @@ -5,7 +5,6 @@ print('abc') print(r'abc') print(u'abc') print(repr('\a\b\t\n\v\f\r')) -print('\z') # unrecognised escape char # construction print(str()) |