Lines Matching refs:reduce_value
4842 reduce_value = obj.__reduce_ex__(proto)
4844 self.assertEqual(reduce_value[0], copyreg.__newobj_ex__)
4845 self.assertEqual(reduce_value[1], (type(obj), args, kwargs))
4847 self.assertEqual(reduce_value[0], copyreg.__newobj__)
4848 self.assertEqual(reduce_value[1], (type(obj),) + args)
4849 self.assertEqual(reduce_value[2], state)
4851 self.assertListEqual(list(reduce_value[3]), listitems)
4853 self.assertIsNone(reduce_value[3])
4855 self.assertDictEqual(dict(reduce_value[4]), dictitems)
4857 self.assertIsNone(reduce_value[4])
4860 reduce_value = (copyreg._reconstructor,
4865 reduce_value += (state,)
4866 self.assertEqual(obj.__reduce_ex__(proto), reduce_value)
4867 self.assertEqual(obj.__reduce__(), reduce_value)