diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-08-14 08:22:50 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-08-14 08:22:50 (GMT) |
commit | eb3f00aeebe619d1e3e74f51bf1d82309cdb2ec5 (patch) | |
tree | 26ec00486b502f9407f21aabe29ea648dd769bde /Lib/test/pickletester.py | |
parent | 8a8da798a5a35bb387575d696799be29c4eaa0d3 (diff) | |
download | cpython-eb3f00aeebe619d1e3e74f51bf1d82309cdb2ec5.zip cpython-eb3f00aeebe619d1e3e74f51bf1d82309cdb2ec5.tar.gz cpython-eb3f00aeebe619d1e3e74f51bf1d82309cdb2ec5.tar.bz2 |
Check for trailing backslash. Fixes #593656.
Diffstat (limited to 'Lib/test/pickletester.py')
-rw-r--r-- | Lib/test/pickletester.py | 1 |
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\'\'\'\\\'\\\\\''", |