Lines Matching refs:reduce_value
4992 reduce_value = obj.__reduce_ex__(proto)
4994 self.assertEqual(reduce_value[0], copyreg.__newobj_ex__)
4995 self.assertEqual(reduce_value[1], (type(obj), args, kwargs))
4997 self.assertEqual(reduce_value[0], copyreg.__newobj__)
4998 self.assertEqual(reduce_value[1], (type(obj),) + args)
4999 self.assertEqual(reduce_value[2], state)
5001 self.assertListEqual(list(reduce_value[3]), listitems)
5003 self.assertIsNone(reduce_value[3])
5005 self.assertDictEqual(dict(reduce_value[4]), dictitems)
5007 self.assertIsNone(reduce_value[4])
5010 reduce_value = (copyreg._reconstructor,
5015 reduce_value += (state,)
5016 self.assertEqual(obj.__reduce_ex__(proto), reduce_value)
5017 self.assertEqual(obj.__reduce__(), reduce_value)