Merge lp:~thisfred/desktopcouch/eq_ne into lp:desktopcouch
Proposed by
Eric Casteleijn
Status: | Merged |
---|---|
Approved by: | Eric Casteleijn |
Approved revision: | 243 |
Merged at revision: | 252 |
Proposed branch: | lp:~thisfred/desktopcouch/eq_ne |
Merge into: | lp:desktopcouch |
Diff against target: |
56 lines (+35/-0) 2 files modified
desktopcouch/records/__init__.py (+13/-0) desktopcouch/records/tests/test_record.py (+22/-0) |
To merge this branch: | bzr merge lp:~thisfred/desktopcouch/eq_ne |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
James Tait (community) | Approve | ||
Chad Miller (community) | Approve | ||
Nicola Larosa | Pending | ||
Review via email: mp+45163@code.launchpad.net |
Commit message
Added __eq__ and __ne__ to MergeableList class so they can be compared to regular lists.
Description of the change
By popular demand: it's now possible to compare mergeable lists to regular list objects (or anything that's a MutableSequence)
To post a comment you must log in.
Nice! I'd like to see some deeper structure in the tests.