Merge lp:~cjwatson/lazr.restful/zope.interface-5.0.0 into lp:lazr.restful

Proposed by Colin Watson
Status: Merged
Merged at revision: 245
Proposed branch: lp:~cjwatson/lazr.restful/zope.interface-5.0.0
Merge into: lp:lazr.restful
Diff against target: 28 lines (+6/-1)
2 files modified
NEWS.rst (+5/-0)
src/lazr/restful/docs/webservice-declarations.rst (+1/-1)
To merge this branch: bzr merge lp:~cjwatson/lazr.restful/zope.interface-5.0.0
Reviewer Review Type Date Requested Status
Ioana Lasc (community) Approve
Review via email: mp+386571@code.launchpad.net

Commit message

Fix test failure with zope.interface >= 5.0.0.

Description of the change

Attribute now has a useful __str__, so we need to explicitly ask for its repr when that's what we're testing.

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
1=== modified file 'NEWS.rst'
2--- NEWS.rst 2020-06-12 08:43:17 +0000
3+++ NEWS.rst 2020-06-30 13:35:26 +0000
4@@ -2,6 +2,11 @@
5 NEWS for lazr.restful
6 =====================
7
8+0.22.1
9+======
10+
11+Fix test failure with zope.interface >= 5.0.0.
12+
13 0.22.0 (2020-06-12)
14 ===================
15
16
17=== modified file 'src/lazr/restful/docs/webservice-declarations.rst'
18--- src/lazr/restful/docs/webservice-declarations.rst 2020-02-04 21:53:16 +0000
19+++ src/lazr/restful/docs/webservice-declarations.rst 2020-06-30 13:35:26 +0000
20@@ -2286,7 +2286,7 @@
21 1.0
22 >>> print(attrs['type'])
23 read_operation
24- >>> print(attrs['params']['arg'])
25+ >>> print(repr(attrs['params']['arg']))
26 <zope.schema._field.Float object...>
27
28 But it's not present in the unnamed pre-1.0 version, since it hadn't

Subscribers

People subscribed via source and target branches