Merge ~cjwatson/launchpad:py3-fix-doctest-output into launchpad:master
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | 0bb3f635dc3d1cba179fe09f3a2242af66e785af |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad:py3-fix-doctest-output |
Merge into: | launchpad:master |
Diff against target: |
12 lines (+1/-1) 1 file modified
lib/lp/scripts/utilities/test.py (+1/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Thiago F. Pappacena (community) | Approve | ||
Review via email: mp+391087@code.launchpad.net |
Commit message
Adjust fix_doctest_output to coerce to str, not bytes
Description of the change
doctest._SpoofOut writes to a StringIO.StringIO on Python 2, but an io.StringIO on Python 3.
To post a comment you must log in.
LGTM