summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_unparse.py
diff options
context:
space:
mode:
authorBatuhan Taskaya <batuhanosmantaskaya@gmail.com>2020-05-19 22:14:14 (GMT)
committerGitHub <noreply@github.com>2020-05-19 22:14:14 (GMT)
commitdd74b6fde31aff9aa46c4fc2a830c569764e1b63 (patch)
tree658beae596fc14849f986c682c3176b86c65716b /Lib/test/test_unparse.py
parent92327a9913150f5bb55b2727a2c5d50f9b7b6e55 (diff)
downloadcpython-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.py2
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: