Unicode tracebacks break when a line is None rather than str

Bug #611307 reported by Martin Packman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
testtools
Fix Released
Critical
Martin Packman

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.

Related branches

Martin Packman (gz)
Changed in testtools:
assignee: nobody → Martin [gz] (gz)
Jonathan Lange (jml)
Changed in testtools:
status: New → Triaged
importance: Undecided → Critical
milestone: none → 0.9.5
Jonathan Lange (jml)
Changed in testtools:
status: Triaged → Fix Committed
Jonathan Lange (jml)
Changed in testtools:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.