summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-08-14 08:22:50 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-08-14 08:22:50 (GMT)
commiteb3f00aeebe619d1e3e74f51bf1d82309cdb2ec5 (patch)
tree26ec00486b502f9407f21aabe29ea648dd769bde /Lib/test
parent8a8da798a5a35bb387575d696799be29c4eaa0d3 (diff)
downloadcpython-eb3f00aeebe619d1e3e74f51bf1d82309cdb2ec5.zip
cpython-eb3f00aeebe619d1e3e74f51bf1d82309cdb2ec5.tar.gz
cpython-eb3f00aeebe619d1e3e74f51bf1d82309cdb2ec5.tar.bz2
Check for trailing backslash. Fixes #593656.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/pickletester.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/pickletester.py b/Lib/test/pickletester.py
index 3dc7901..2294c3d 100644
--- a/Lib/test/pickletester.py
+++ b/Lib/test/pickletester.py
@@ -199,6 +199,7 @@ class AbstractPickleTests(unittest.TestCase):
"'abc", # quote is not closed
"'abc\"", # open quote and close quote don't match
"'abc' ?", # junk after close quote
+ "'\\'", # trailing backslash
# some tests of the quoting rules
#"'abc\"\''",
#"'\\\\a\'\'\'\\\'\\\\\''",