Merge ~cjwatson/launchpad:py3-unified-diff into launchpad:master
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | e01bf5426177768f272806e12ec58c91182ba763 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad:py3-unified-diff |
Merge into: | launchpad:master |
Diff against target: |
142 lines (+35/-16) 3 files modified
lib/lp/code/browser/tests/test_branchmergeproposal.py (+13/-4) lib/lp/code/model/tests/test_diff.py (+8/-8) lib/lp/code/stories/branches/xx-branchmergeproposals.txt (+14/-4) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ioana Lasc (community) | Approve | ||
Review via email: mp+397942@code.launchpad.net |
Commit message
Fix various uses of unified_diff on bytes
Description of the change
We have to do this a bit differently for Python 3 compatibility: unified_diff only accepts text now, although we can wrap it in diff_bytes if comparing bytes is necessary.
To post a comment you must log in.