← Back to team overview

testtools-dev team mailing list archive

[Bug 611307] Re: Unicode tracebacks break when a line is None rather than str

 

** Changed in: testtools
       Status: Fix Committed => Fix Released

-- 
Unicode tracebacks break when a line is None rather than str
https://bugs.launchpad.net/bugs/611307
You received this bug notification because you are a member of testtools
developers, which is subscribed to testtools.

Status in Extensions to the Python unittest library: Fix Released

Bug description:
Using traceback.extract_tb may return None for the source line rather than a str, if for instance it comes from a bytecode file or an evaled statement. In that case, the Python 2 unicode tracebacks code should not attempt to decode it.





References