]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix bogus unicode tests in pickletester.
authorAlexandre Vassalotti <alexandre@peadrop.com>
Sat, 27 Dec 2008 10:02:59 +0000 (10:02 +0000)
committerAlexandre Vassalotti <alexandre@peadrop.com>
Sat, 27 Dec 2008 10:02:59 +0000 (10:02 +0000)
Lib/test/pickletester.py

index bf25245bd1a0b41c85c4a258b2262148faabcc32..bd0a3a4813a5f7b525f6d16c3a8cfa87e3e6e148 100644 (file)
@@ -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)