summaryrefslogtreecommitdiffstats
path: root/Lib/test/pickletester.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-04-15 19:35:25 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2013-04-15 19:35:25 (GMT)
commitbe92971b38c68fe472d908bdc8aa185963473308 (patch)
tree1cefffe3434e8449aa95701bb466ae8573df3129 /Lib/test/pickletester.py
parent108d1b4a7962a7777b7fb6108f12df619ea9218b (diff)
downloadcpython-be92971b38c68fe472d908bdc8aa185963473308.zip
cpython-be92971b38c68fe472d908bdc8aa185963473308.tar.gz
cpython-be92971b38c68fe472d908bdc8aa185963473308.tar.bz2
Issue #17710: Fix cPickle raising a SystemError on bogus input.
Diffstat (limited to 'Lib/test/pickletester.py')
-rw-r--r--Lib/test/pickletester.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/pickletester.py b/Lib/test/pickletester.py
index 7f43dfb..34cafcb 100644
--- a/Lib/test/pickletester.py
+++ b/Lib/test/pickletester.py
@@ -538,6 +538,8 @@ class AbstractPickleTests(unittest.TestCase):
"'abc\"", # open quote and close quote don't match
"'abc' ?", # junk after close quote
"'\\'", # trailing backslash
+ "'", # issue #17710
+ "' ", # issue #17710
# some tests of the quoting rules
#"'abc\"\''",
#"'\\\\a\'\'\'\\\'\\\\\''",