From: SourceForge.net <no...@so...> - 2011-10-17 10:30:25
|
Bugs item #3423983, was opened at 2011-10-15 00:18 Message generated for change (Comment added) made by milde You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=422030&aid=3423983&group_id=38414 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Jakub Wilk (jakub-wilk) Assigned to: Nobody/Anonymous (nobody) Summary: test_writers.test_docutils_xml.DocutilsXMLTestCase fails Initial Comment: It looks like recent changes to xml.dom.minidom[0][1] broke test_writers.test_docutils_xml.DocutilsXMLTestCase: ====================================================================== FAIL: test_publish (test_writers.test_docutils_xml.DocutilsXMLTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/python-docutils-_daXVI/python-docutils-0.8.1/test/test_writers/test_docutils_xml.py", line 80, in test_publish expected) File "/build/python-docutils-_daXVI/python-docutils-0.8.1/test/DocutilsTestSupport.py", line 116, in failUnlessEqual (msg or '%s != %s' % _format_str(first, second)) AssertionError: '''\ <!-- Generated by Docutils 0.8.1 --> <document source="<string>"> <paragraph>Test </paragraph> <transition/> <paragraph>Test. \xe4\xf6\xfc€ </paragraph> </document> ''' != '''\ <!-- Generated by Docutils 0.8.1 --> <document source="<string>"> <paragraph> Test </paragraph> <transition/> <paragraph> Test. \xe4\xf6\xfc€ </paragraph> </document> ''' [0] http://bugs.python.org/issue4147 [1] http://hg.python.org/cpython/rev/fa0b1e50270f ---------------------------------------------------------------------- >Comment By: Günter Milde (milde) Date: 2011-10-17 10:30 Message: Thanks for your bug report. It looks like the test needs either to consider python versions or to be relaxed. Can you provide a version test line that could be used to define two variants of the `bodyindents` string used in test/test_writers/test_docutils_xml.py? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=422030&aid=3423983&group_id=38414 |