mirror of https://github.com/python/cpython
Fix bogus unicode tests in pickletester.
This commit is contained in:
parent
6067f78ecf
commit
e57e9990e7
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue