Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 318807 - net-zope/zope-exceptions-3.6.0 fails tests with Python 2.7 and Python 3.2
Summary: net-zope/zope-exceptions-3.6.0 fails tests with Python 2.7 and Python 3.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: net-zope (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: python-2.7 python-3.2
  Show dependency tree
 
Reported: 2010-05-07 00:28 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2010-07-07 00:09 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
zope-exceptions-3.6.0:20100507-002651.log (zope-exceptions-3.6.0:20100507-002651.log,20.41 KB, text/plain)
2010-05-07 00:30 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-05-07 00:28:53 UTC
net-zope/zope-exceptions-3.6.0 fails tests with Python 2.7 and Python 3.2 due to changed exception message.

======================================================================
FAIL: testMultilineException (zope.exceptions.tests.test_exceptionformatter.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/zope/exceptions/tests/test_exceptionformatter.py", line 160, in testMultilineException
    'SyntaxError: unexpected EOF while parsing'])
AssertionError: Lists differ: ['    syntax error', '        ... != ['    syntax error', '        ...

First differing element 2:
SyntaxError: invalid syntax
SyntaxError: unexpected EOF while parsing

- ['    syntax error', '               ^', 'SyntaxError: invalid syntax']
+ ['    syntax error',
+  '               ^',
+  'SyntaxError: unexpected EOF while parsing']

----------------------------------------------------------------------
Ran 10 tests in 0.005s

FAILED (failures=1)
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-05-07 00:30:07 UTC
Created attachment 230647 [details]
zope-exceptions-3.6.0:20100507-002651.log
Comment 2 Domen Kožar 2010-05-26 18:41:14 UTC
According to upstream, plone is not going to support Python 2.7

Maybe ZTK developers say otherwise:)
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-07-07 00:09:25 UTC
Fixed by upstream in net-zope/zope-exceptions-3.6.1.