[Python-modules-team] Bug#645369: python-docutils: FTBFS: FAIL: test_publish (test_writers.test_docutils_xml.DocutilsXMLTestCase)
Jakub Wilk
jwilk at debian.org
Thu Oct 20 17:09:19 UTC 2011
clone 645369 -1
reassign -1 python2.7
found -1 2.7.2-7
retitle -1 please revert xml.dom.minidom.toprettyxml changes
severity -1 important
block 645369 with -1
thanks
* Jakub Wilk <jwilk at debian.org>, 2011-10-15, 01:55:
>| ======================================================================
>| 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>
>| '''
Apparently this is caused by a half-baked patch meant to fix
<http://bugs.python.org/issue4147>. I am not willing to support such
changes in Python before they appear in a *released* version.
Please revert the changes to Lib/xml/dom/minidom.py.
--
Jakub Wilk
More information about the Python-modules-team
mailing list