We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 589e8fe commit aad8f0eCopy full SHA for aad8f0e
Lib/test/test_peg_generator/test_c_parser.py
@@ -365,8 +365,8 @@ def test_syntax_error_for_string(self) -> None:
365
start: expr+ NEWLINE? ENDMARKER
366
expr: NAME
367
"""
368
- test_source = """
369
- for text in ("a b 42 b a", "名 名 42 名 名"):
+ test_source = r"""
+ for text in ("a b 42 b a", "\u540d \u540d 42 \u540d \u540d"):
370
try:
371
parse.parse_string(text, mode=0)
372
except SyntaxError as e:
0 commit comments