From: Alexandre Vassalotti Date: Sat, 27 Dec 2008 10:02:59 +0000 (+0000) Subject: Fix bogus unicode tests in pickletester. X-Git-Tag: v2.7a1~2493 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e57e9990e72f83963a34c37c985bc72c5f27eae5;p=thirdparty%2FPython%2Fcpython.git Fix bogus unicode tests in pickletester. --- diff --git a/Lib/test/pickletester.py b/Lib/test/pickletester.py index bf25245bd1a0..bd0a3a4813a5 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)