lp:~gz/testtools/no_source_line_611307
Created by
Martin Packman
and last modified
- Get this branch:
- bzr branch lp:~gz/testtools/no_source_line_611307
Only
Martin Packman
can upload to this branch. If you are
Martin Packman
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- testtools developers: Pending requested
-
Diff: 31 lines (+9/-1)2 files modifiedtesttools/compat.py (+2/-1)
testtools/tests/test_testresult.py (+7/-0)
Related bugs
Bug #611307: Unicode tracebacks break when a line is None rather than str | Critical | Fix Released |
Related blueprints
Branch information
Recent revisions
- 74. By Robert Collins
-
testtools.utils has been renamed to testtools.compat. Importing
testtools.utils will now generate a deprecation warning.Add machinery for Python 2 to create unicode tracebacks like those used by
Python 3. This means testtools no longer throws on encountering non-ascii
filenames, source lines, or exception strings when displaying test results.
Largely contributed by Martin[gz] with some tweaks from Robert Collins.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~testtools-committers/testtools/trunk