Home
last modified time | relevance | path

Searched refs:dummy_write (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_xmlrpc.py152 def dummy_write(s): function
156 m.dump_int(xmlrpclib.MAXINT, dummy_write)
157 m.dump_int(xmlrpclib.MININT, dummy_write)
159 xmlrpclib.MAXINT+1, dummy_write)
161 xmlrpclib.MININT-1, dummy_write)
170 def dummy_write(s): function
174 m.dump_double(xmlrpclib.MAXINT, dummy_write)
175 m.dump_double(xmlrpclib.MININT, dummy_write)
176 m.dump_double(xmlrpclib.MAXINT + 42, dummy_write)
177 m.dump_double(xmlrpclib.MININT - 42, dummy_write)
/external/python/cpython2/Lib/test/
Dtest_xmlrpc.py132 def dummy_write(s): function
136 m.dump_int(xmlrpclib.MAXINT, dummy_write)
137 m.dump_int(xmlrpclib.MININT, dummy_write)
138 self.assertRaises(OverflowError, m.dump_int, xmlrpclib.MAXINT+1, dummy_write)
139 self.assertRaises(OverflowError, m.dump_int, xmlrpclib.MININT-1, dummy_write)