Merge lp://staging/~cjwatson/lazr.restful/py3-doctest-print into lp://staging/lazr.restful

Proposed by Colin Watson
Status: Merged
Merged at revision: 269
Proposed branch: lp://staging/~cjwatson/lazr.restful/py3-doctest-print
Merge into: lp://staging/lazr.restful
Diff against target: 734 lines (+198/-140)
11 files modified
src/lazr/restful/docs/interface.rst (+4/-4)
src/lazr/restful/docs/webservice-declarations.rst (+11/-12)
src/lazr/restful/docs/webservice.rst (+75/-58)
src/lazr/restful/example/base/tests/collection.txt (+25/-20)
src/lazr/restful/example/base/tests/entry.txt (+19/-16)
src/lazr/restful/example/base/tests/field.txt (+16/-7)
src/lazr/restful/example/base/tests/hostedfile.txt (+2/-2)
src/lazr/restful/example/base/tests/root.txt (+9/-6)
src/lazr/restful/example/multiversion/tests/introduction.txt (+3/-2)
src/lazr/restful/example/multiversion/tests/operation.txt (+23/-8)
src/lazr/restful/example/wsgi/tests/introduction.txt (+11/-5)
To merge this branch: bzr merge lp://staging/~cjwatson/lazr.restful/py3-doctest-print
Reviewer Review Type Date Requested Status
Ioana Lasc (community) Approve
Review via email: mp+390359@code.staging.launchpad.net

Commit message

Convert doctests to use print() for Unicode strings.

Description of the change

This cuts down on a lot of test failure noise on Python 3, where the repr() of Unicode strings is different.

To post a comment you must log in.
Revision history for this message
Ioana Lasc (ilasc) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches