diff options
author | Batuhan Taskaya <batuhanosmantaskaya@gmail.com> | 2020-05-19 22:14:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-19 22:14:14 (GMT) |
commit | dd74b6fde31aff9aa46c4fc2a830c569764e1b63 (patch) | |
tree | 658beae596fc14849f986c682c3176b86c65716b /Lib/test/test_unparse.py | |
parent | 92327a9913150f5bb55b2727a2c5d50f9b7b6e55 (diff) | |
download | cpython-dd74b6fde31aff9aa46c4fc2a830c569764e1b63.zip cpython-dd74b6fde31aff9aa46c4fc2a830c569764e1b63.tar.gz cpython-dd74b6fde31aff9aa46c4fc2a830c569764e1b63.tar.bz2 |
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
Diffstat (limited to 'Lib/test/test_unparse.py')
-rw-r--r-- | Lib/test/test_unparse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_unparse.py b/Lib/test/test_unparse.py index bb725ce..532aa3a 100644 --- a/Lib/test/test_unparse.py +++ b/Lib/test/test_unparse.py @@ -330,7 +330,7 @@ class UnparseTestCase(ASTTestCase): '\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: |