diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-05-19 22:33:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-19 22:33:45 (GMT) |
commit | 059279d8706074489144f6ba8ccc8723e0b85007 (patch) | |
tree | c9c608cf992e65c5c42b6f955b5e6957cc643bcd | |
parent | 9512ad74b0fcaff023c1ade75313dc8e249aef78 (diff) | |
download | cpython-059279d8706074489144f6ba8ccc8723e0b85007.zip cpython-059279d8706074489144f6ba8ccc8723e0b85007.tar.gz cpython-059279d8706074489144f6ba8ccc8723e0b85007.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
(cherry picked from commit dd74b6fde31aff9aa46c4fc2a830c569764e1b63)
Co-authored-by: Batuhan Taskaya <batuhanosmantaskaya@gmail.com>
-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: |