dev-python/docutils-0.8.1 fails test ************************************ The test output is in the attachement. docutils-0.9 does not fail the test. Tested on: amd64: kernel linux-3.4.2-gentoo-r1 with python 3.2 kernel linux-3.3.8-gentoo with python 2.7 and 3.2 x86: kernel linux-3.2.12-gentoo with python 2.7 and 3.2 The problem might be upstream, anyway - I will currently not do more about it then report it here.
Created attachment 316979 [details] ebuild docutils-0.8.1.ebuild test ====================================================================== FAIL: test_publish (test_writers.test_docutils_xml.DocutilsXMLTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/docutils-0.8.1/work/docutils-0.8.1/test/test_writers/test_docutils_xml.py", line 80, in test_publish expected) File "/var/tmp/portage/dev-python/docutils-0.8.1/work/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>
New formatting was introduced in CPython 2.7.3 and 3.2.3. Docutils was adjusted in r7226: http://docutils.svn.sourceforge.net/viewvc/docutils?view=revision&revision=7226
docutils # ebuild docutils-0.9.ebuild clean test * Testing of dev-python/docutils-0.9 with CPython 2.7... Ran 1187 tests in 10.015s OK * Testing of dev-python/docutils-0.9 with CPython 3.1... Ran 1175 tests in 8.762s OK There a 2 versions since docutils-0.8.1
(In reply to comment #3) > There a 2 versions since docutils-0.8.1 but docutils-0.8.1 is stable, the others are not...