On Wed, Dec 19, 2012 at 01:22:00PM -0500, Tres Seaver wrote:
On 12/18/2012 08:00 PM, Zope tests summarizer wrote:
[2] FAILED winbot / z3c.ptcompat_py_265_32 https://mail.zope.org/pipermail/zope-tests/2012-December/070297.html
No idea what cased this failure: the package hasn't changed since February. The test shows extraneous whitespace in the output, compared to the expected output.
Here's the failure: Failure in test test_recursion (z3c.ptcompat.tests.HTMLTests) Traceback (most recent call last): File "c:\Python26_32\lib\unittest.py", line 279, in run testMethod() File "c:\eggs\zope.pagetemplate-4.0.0-py2.6.egg\zope\pagetemplate\tests\test_htmltests.py", line 146, in test_recursion util.check_html(expect, out) File "c:\eggs\zope.pagetemplate-4.0.0-py2.6.egg\zope\pagetemplate\tests\util.py", line 78, in check_html assert s1==s2, (s1, s2, "HTML Output Changed") AssertionError: ('<!-- See https://bugs.launchpad.net/zope.pagetemplate/+bug/732972 -->\n<ul>\n <li>root</li>\n <li>\n <ul>\n <li>first</li>\n</ul>\n </li>\n <li>\n <ul>\n <li>second</li>\n</ul>\n </li>\n</ul>\n', u'<!-- See https://bugs.launchpad.net/zope.pagetemplate/+bug/732972 -->\n<ul>\n <li>root</li>\n <li>\n <ul>\n <li>first</li>\n \n</ul>\n </li>\n <li>\n <ul>\n <li>second</li>\n \n</ul>\n </li>\n</ul>\n', 'HTML Output Changed') It looks familiar: I added that test to zope.pagetemplate testsuite five days ago (in r128621). Apparently z3c.ptcompat inherits from the TestCase classes defined in zope.pagetemplate. So, my fault. I'll try to fix it. (Incidentally, this failure is a walking advertisement for doctests.) Marius Gedminas -- http://pov.lt/ -- Zope 3/BlueBream consulting and development