Lines Matching refs:dumps
17 new = marshal.loads(marshal.dumps(sample, *extra))
75 s = marshal.dumps(f, 2)
79 s = marshal.dumps(f, 1)
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))
192 marshal.dumps([128] * 1000)
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)
249 data = marshal.dumps(head)
257 self.assertRaises(ValueError, marshal.dumps, head)
268 self.assertRaises(ValueError, marshal.dumps, subtyp())
275 marshal.dumps(testString)
320 BadReader(marshal.dumps(value)))
323 data = marshal.dumps(("hello", "dolly", None))
397 s3 = marshal.dumps(sample, 3)
405 s2 = marshal.dumps(sample, 2)
454 data = marshal.dumps(code, version)
474 s = marshal.loads(marshal.dumps(self.strobj))
481 s = marshal.loads(marshal.dumps(self.strobj, 2))
539 data = marshal.dumps(obj, v)
555 data = marshal.dumps(obj, v)