Commit 1e587ba9 authored by Yusei Tahara's avatar Yusei Tahara

Don't use ppml.ToXMLloads. It is not working.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18669 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 848ab966
......@@ -58,7 +58,8 @@ class TestXMLPickle(unittest.TestCase):
obj.data.append(pattern)
pickled_string = pickle.dumps(obj)
xmldata = str(ppml.ToXMLloads(pickled_string))
f = StringIO(pickled_string)
xmldata = str(ppml.ToXMLUnpickler(f).load())
output = StringIO()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment