[Python-checkins] bpo-38870: invalid escape sequence (GH-20240)
Batuhan Taskaya
webhook-mailer at python.org
Tue May 19 18:14:21 EDT 2020
https://github.com/python/cpython/commit/dd74b6fde31aff9aa46c4fc2a830c569764e1b63
commit: dd74b6fde31aff9aa46c4fc2a830c569764e1b63
branch: master
author: Batuhan Taskaya <batuhanosmantaskaya at gmail.com>
committer: GitHub <noreply at github.com>
date: 2020-05-19T15:14:14-07:00
summary:
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
files:
M Lib/test/test_unparse.py
diff --git a/Lib/test/test_unparse.py b/Lib/test/test_unparse.py
index bb725ced64db8..532aa3a639041 100644
--- a/Lib/test/test_unparse.py
+++ b/Lib/test/test_unparse.py
@@ -330,7 +330,7 @@ def test_docstrings(self):
'\r\\r\t\\t\n\\n',
'""">>> content = \"\"\"blabla\"\"\" <<<"""',
r'foo\n\x00',
- '🐍⛎𩸽üéş^\X\BB\N{LONG RIGHTWARDS SQUIGGLE ARROW}'
+ '🐍⛎𩸽üéş^\N{LONG RIGHTWARDS SQUIGGLE ARROW}'
)
for docstring in docstrings:
More information about the Python-checkins
mailing list