Fix the unit tests by adding dispatch tables for DateTime and Binary.

I'm not convinced this is the right thing to do...  InstanceType makes no sense any longer.
This commit is contained in:
Guido van Rossum 2006-04-21 13:45:00 +00:00
parent d8073285ff
commit e4dea98e5a

View file

@ -749,6 +749,8 @@ def dump_instance(self, value, write):
# store instance attributes as a struct (really?)
self.dump_struct(value.__dict__, write)
dispatch[InstanceType] = dump_instance
dispatch[DateTime] = dump_instance
dispatch[Binary] = dump_instance
##
# XML-RPC unmarshaller.