Skip to content

Commit dd74b6f

Browse files
authored
bpo-38870: invalid escape sequence (GH-20240)
`/home/isidentical/cpython/cpython/Lib/test/test_unparse.py:333: DeprecationWarning: invalid escape sequence \X` Automerge-Triggered-By: @pablogsal
1 parent 92327a9 commit dd74b6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_unparse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ def test_docstrings(self):
330330
'\r\\r\t\\t\n\\n',
331331
'""">>> content = \"\"\"blabla\"\"\" <<<"""',
332332
r'foo\n\x00',
333-
'🐍⛎𩸽üéş^\X\BB\N{LONG RIGHTWARDS SQUIGGLE ARROW}'
333+
'🐍⛎𩸽üéş^\N{LONG RIGHTWARDS SQUIGGLE ARROW}'
334334

335335
)
336336
for docstring in docstrings:

0 commit comments

Comments
 (0)