From ffd87b7093109c279caf8e3ca060f408a102388a Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Mon, 7 Jun 2021 20:15:46 -0400 Subject: fix: use unambiguous punction in 'invalid escape sequence' message (GH-26582) --- Lib/test/test_cmd_line_script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/test/test_cmd_line_script.py') diff --git a/Lib/test/test_cmd_line_script.py b/Lib/test/test_cmd_line_script.py index af29c171d42..6ffec918ebb 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\'' ], ) -- cgit v1.2.3