← Back to team overview

testtools-dev team mailing list archive

Re: [Merge] lp:~jseutter/testtools/py3_again into lp:testtools

 

On May 13, 2012, at 05:42 AM, Robert Collins wrote:

>the change to raise is invalid - it causes the wrong exception to be
>raised. AFAIK there is no way to do it compatibly with python 3, which is why
>that file isn't menat to be compiled on python3.

You could use the six package, which supports a version compatible reraise():

http://packages.python.org/six/#syntax-compatibility

The implementation is fairly hairy, so it's probably not worth lifting that
from the package.

-- 
https://code.launchpad.net/~jseutter/testtools/py3_again/+merge/105569
Your team testtools developers is subscribed to branch lp:testtools.


Follow ups

References