diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-06-07 17:36:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-07 17:36:19 -0700 |
commit | d80f4265db63a1692455abb8d1c77d0d72151bbb (patch) | |
tree | 1fe4bedf5ad99ac02eec2d8db3cee274f3b51c3a /Lib/test/test_cmd_line_script.py | |
parent | 8524e32d77b6741cdd7f947c009b10b54c6529b8 (diff) | |
download | cpython-git-d80f4265db63a1692455abb8d1c77d0d72151bbb.tar.gz |
fix: use unambiguous punction in 'invalid escape sequence' message (GH-26582)
(cherry picked from commit ffd87b7093109c279caf8e3ca060f408a102388a)
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Diffstat (limited to 'Lib/test/test_cmd_line_script.py')
-rw-r--r-- | Lib/test/test_cmd_line_script.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_cmd_line_script.py b/Lib/test/test_cmd_line_script.py index af29c171d4..6ffec918eb 100644 --- a/Lib/test/test_cmd_line_script.py +++ b/Lib/test/test_cmd_line_script.py @@ -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\'' ], ) |