Check for trailing backslash. Fixes #593656.

This commit is contained in:
Martin v. Löwis 2002-08-14 08:22:50 +00:00
parent 8a8da798a5
commit eb3f00aeeb
2 changed files with 9 additions and 5 deletions

View file

@ -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\'\'\'\\\'\\\\\''",