Lines Matching refs:loads

17         new = marshal.loads(marshal.dumps(sample, *extra))
44 got = marshal.loads(s)
51 got = marshal.loads(b'I\xfe\xdc\xba\x98\x76\x54\x32\x10')
53 got = marshal.loads(b'I\x01\x23\x45\x67\x89\xab\xcd\xef')
55 got = marshal.loads(b'I\x08\x19\x2a\x3b\x4c\x5d\x6e\x7f')
57 got = marshal.loads(b'I\xf7\xe6\xd5\xc4\xb3\xa2\x91\x80')
76 got = marshal.loads(s)
80 got = marshal.loads(s)
94 self.helper(marshal.loads(marshal.dumps(s)))
106 new = marshal.loads(marshal.dumps(StopIteration))
112 new = marshal.loads(marshal.dumps(co))
119 marshal.loads(marshal.dumps(codes))
124 co1, co2 = marshal.loads(marshal.dumps((co1, co2)))
132 co = marshal.loads(marshal.dumps(co))
165 obj2 = marshal.loads(marshal.dumps(obj))
174 new = marshal.loads(marshal.dumps(b))
180 new = marshal.loads(marshal.dumps(b))
185 new = marshal.loads(marshal.dumps(a))
195 self.assertRaises(Exception, marshal.loads, b'0')
196 self.assertRaises(Exception, marshal.loads, b'f')
197 self.assertRaises(Exception, marshal.loads, marshal.dumps(2**65)[:-1])
201 self.assertEqual(marshal.loads(marshal.dumps(5, 0)), 5)
202 self.assertEqual(marshal.loads(marshal.dumps(5, 1)), 5)
210 marshal.loads(c)
227 run_tests(100, marshal.loads)
230 self.assertRaises(ValueError, marshal.loads, s)
250 new_head = marshal.loads(data)
280 self.assertRaises(ValueError, marshal.loads, invalid_string)
309 self.assertRaises(TypeError, marshal.loads, unicode_string)
325 self.assertRaises(EOFError, marshal.loads, data[0: i])
398 n3 = CollectObjectIDs(set(), marshal.loads(s3))
406 n2 = CollectObjectIDs(set(), marshal.loads(s2))
455 marshal.loads(data)
474 s = marshal.loads(marshal.dumps(self.strobj))
481 s = marshal.loads(marshal.dumps(self.strobj, 2))
506 self.assertEqual(marshal.loads(data), obj)