diff options
author | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-12-27 10:02:59 (GMT) |
---|---|---|
committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-12-27 10:02:59 (GMT) |
commit | e57e9990e72f83963a34c37c985bc72c5f27eae5 (patch) | |
tree | 297d2630943cc8dd6c731ffdd7ea331bfa01f6ff | |
parent | 6067f78ecf613560700c4e2303de47d8498e9462 (diff) | |
download | cpython-e57e9990e72f83963a34c37c985bc72c5f27eae5.zip cpython-e57e9990e72f83963a34c37c985bc72c5f27eae5.tar.gz cpython-e57e9990e72f83963a34c37c985bc72c5f27eae5.tar.bz2 |
Fix bogus unicode tests in pickletester.
-rw-r--r-- | Lib/test/pickletester.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/pickletester.py b/Lib/test/pickletester.py index bf25245..bd0a3a4 100644 --- a/Lib/test/pickletester.py +++ b/Lib/test/pickletester.py @@ -480,8 +480,8 @@ class AbstractPickleTests(unittest.TestCase): if have_unicode: def test_unicode(self): - endcases = [u'', u'<\\u>', u'<\\\\u1234>', u'<\n>', - u'<\\>', u'<\\\\U00012345>'] + endcases = [u'', u'<\\u>', u'<\\\u1234>', u'<\n>', + u'<\\>', u'<\\\U00012345>'] for proto in protocols: for u in endcases: p = self.dumps(u, proto) |