Lines Matching refs:dumps
49 dump = xmlrpclib.dumps((alist,))
60 s = xmlrpclib.dumps((dt,))
91 s = xmlrpclib.dumps((dt,))
107 ((new_d,), dummy) = xmlrpclib.loads(xmlrpclib.dumps((d,),
112 s = xmlrpclib.dumps((new_d,), methodresponse=True)
121 ((t2,), dummy) = xmlrpclib.loads(xmlrpclib.dumps((t,)))
125 self.assertRaises(OverflowError, xmlrpclib.dumps, (2**99,))
128 self.assertRaises(TypeError, xmlrpclib.dumps, ({(1,2,3): 1},))
134 self.assertRaises(TypeError, xmlrpclib.dumps, (l,))
140 self.assertRaises(TypeError, xmlrpclib.dumps, (d,))
144 self.assertRaises(OverflowError, xmlrpclib.dumps,
147 xmlrpclib.dumps((xmlrpclib.MAXINT, xmlrpclib.MININT))
148 self.assertRaises(OverflowError, xmlrpclib.dumps,
150 self.assertRaises(OverflowError, xmlrpclib.dumps,
165 xmlrpclib.dumps((float(2 ** 34),))
166 xmlrpclib.dumps((float(xmlrpclib.MAXINT),
168 xmlrpclib.dumps((float(xmlrpclib.MAXINT + 42),
183 strg = xmlrpclib.dumps(arg1, allow_none=True)
186 self.assertRaises(TypeError, xmlrpclib.dumps, (arg1,))
191 strg = xmlrpclib.dumps((value,), encoding='iso-8859-15')
197 strg = xmlrpclib.dumps((value,), encoding='iso-8859-15',
204 strg = xmlrpclib.dumps((value,), encoding='iso-8859-15',
214 s = xmlrpclib.dumps((value,))
322 response = xmlrpclib.dumps((5,), methodresponse=True)
452 s = xmlrpclib.dumps((f,))
457 s = xmlrpclib.Marshaller().dumps(f)
1483 marshaled = xmlrpclib.dumps((expected_bytes, expected_date), 'foobar')