mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
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:
parent
d8073285ff
commit
e4dea98e5a
1 changed files with 2 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue