Lines Matching refs:dumps
20 s = marshal.dumps(expected)
55 new = marshal.loads(marshal.dumps(b))
71 s = marshal.dumps(f)
80 s = marshal.dumps(f, 2)
84 s = marshal.dumps(f, 1)
93 s = marshal.dumps(f)
97 s = marshal.dumps(f, 1)
114 new = marshal.loads(marshal.dumps(s))
125 new = marshal.loads(marshal.dumps(s))
139 new = marshal.loads(marshal.dumps(b))
148 new = marshal.loads(marshal.dumps(StopIteration))
154 new = marshal.loads(marshal.dumps(co))
168 new = marshal.loads(marshal.dumps(self.d))
177 new = marshal.loads(marshal.dumps(lst))
186 new = marshal.loads(marshal.dumps(t))
196 new = marshal.loads(marshal.dumps(t))
208 marshal.dumps([128] * 1000)
213 self.assertRaises(Exception, marshal.loads, marshal.dumps(5L)[:-1])
217 self.assertEqual(marshal.loads(marshal.dumps(5, 0)), 5)
218 self.assertEqual(marshal.loads(marshal.dumps(5, 1)), 5)
260 data = marshal.dumps(head)
268 self.assertRaises(ValueError, marshal.dumps, head)
279 self.assertRaises(ValueError, marshal.dumps, subtyp())
286 marshal.dumps(testString)
381 data = marshal.dumps(obj, v)
391 data = marshal.dumps(obj, v)