Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 318807

Summary: net-zope/zope-exceptions-3.6.0 fails tests with Python 2.7 and Python 3.2
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever>
Component: Current packagesAssignee: net-zope (OBSOLETE) <net-zope+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: domen, esigra, python
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 292401, 292402    
Attachments: zope-exceptions-3.6.0:20100507-002651.log

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.