mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
fix: use unambiguous punction in 'invalid escape sequence' message (GH-26582)
This commit is contained in:
parent
165c884154
commit
ffd87b7093
2 changed files with 3 additions and 3 deletions
|
@ -651,7 +651,7 @@ class CmdLineTest(unittest.TestCase):
|
|||
stderr.splitlines()[-3:],
|
||||
[ b' foo = """\\q"""',
|
||||
b' ^^^^^^^^',
|
||||
b'SyntaxError: invalid escape sequence \\q'
|
||||
b'SyntaxError: invalid escape sequence \'\\q\''
|
||||
],
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue