Kaydet (Commit) d148630e authored tarafından Benjamin Peterson's avatar Benjamin Peterson

fix syntax

üst 9203501b
...@@ -484,8 +484,8 @@ class AbstractPickleTests(unittest.TestCase): ...@@ -484,8 +484,8 @@ class AbstractPickleTests(unittest.TestCase):
self.assertRaises(ValueError, self.loads, buf) self.assertRaises(ValueError, self.loads, buf)
def test_unicode(self): def test_unicode(self):
endcases = [u'', u'<\\u>', u'<\\\u1234>', u'<\n>', endcases = ['', '<\\u>', '<\\\u1234>', '<\n>',
u'<\\>', u'<\\\U00012345>'] '<\\>', '<\\\U00012345>']
for proto in protocols: for proto in protocols:
for u in endcases: for u in endcases:
p = self.dumps(u, proto) p = self.dumps(u, proto)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment