[Erp5-report] r37205 nicolas - /erp5/trunk/utils/xml_marshaller/xml_marshaller/
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Jul 20 18:54:02 CEST 2010
Author: nicolas
Date: Tue Jul 20 18:54:01 2010
New Revision: 37205
URL: http://svn.erp5.org?rev=37205&view=rev
Log:
Activate verbosity for assertions
Modified:
erp5/trunk/utils/xml_marshaller/xml_marshaller/xml_marshaller.py
Modified: erp5/trunk/utils/xml_marshaller/xml_marshaller/xml_marshaller.py
URL: http://svn.erp5.org/erp5/trunk/utils/xml_marshaller/xml_marshaller/xml_marshaller.py?rev=37205&r1=37204&r2=37205&view=diff
==============================================================================
--- erp5/trunk/utils/xml_marshaller/xml_marshaller/xml_marshaller.py [utf8] (original)
+++ erp5/trunk/utils/xml_marshaller/xml_marshaller/xml_marshaller.py [utf8] Tue Jul 20 18:54:01 2010
@@ -622,7 +622,9 @@ def test(load, loads, dump, dumps, test_
file.seek(0)
output2 = load(file)
if do_assert:
- assert item == output and item == output2 and output == output2
+ assert item == output, '%r %r' % (item, output)
+ assert item == output2 , '%r %r' % (item, output2)
+ assert output == output2, '%r %r' % (output, output2)
# Classes used in the test suite
More information about the Erp5-report
mailing list