testtools-dev team mailing list archive
-
testtools-dev team
-
Mailing list archive
-
Message #00002
[Bug 611307] Re: Unicode tracebacks break when a line is None rather than str
** Branch linked: lp:~gz/testtools/no_source_line_611307
--
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: New
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