Merge lp:~larstiq/bzr/bzr-pypy into lp:bzr/2.5
Proposed by
Wouter van Heyst
Status: | Merged |
---|---|
Approved by: | Jelmer Vernooij |
Approved revision: | no longer in the source branch. |
Merged at revision: | 6473 |
Proposed branch: | lp:~larstiq/bzr/bzr-pypy |
Merge into: | lp:bzr/2.5 |
Diff against target: |
41 lines (+6/-3) 3 files modified
bzrlib/tests/blackbox/test_switch.py (+2/-2) bzrlib/tests/test_remote.py (+1/-1) doc/en/release-notes/bzr-2.5.txt (+3/-0) |
To merge this branch: | bzr merge lp:~larstiq/bzr/bzr-pypy |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jelmer Vernooij (community) | Approve | ||
Review via email: mp+91428@code.launchpad.net |
Commit message
Stop depending on the particular CPython ordering of dictionary keys when testing the result of BzrDir.
Description of the change
Two tests that are interested in the result of a bzrdir.
The approach taken here was to just wrap the lists in set().
To post a comment you must log in.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2/3/2012 1:57 PM, Wouter van Heyst wrote: /code.launchpad .net/~larstiq/ bzr/bzr- pypy/+merge/ 91428 get_branches( ) call directly compare the keys() of this
> Wouter van Heyst has proposed merging lp:~larstiq/bzr/bzr-pypy into
> lp:bzr/2.5.
>
> Requested reviews: bzr-core (bzr-core)
>
> For more details, see:
> https:/
>
> Two tests that are interested in the result of a
> bzrdir.
> dictionary with a list. The sorting of that list is an
> implementation detail which is not the same under pypy.
>
> The approach taken here was to just wrap the lists in set().
Just to mention I would usually wrap it in "sorted()" because it is
easier to read when something goes wrong.
John
=:->
-----BEGIN PGP SIGNATURE----- enigmail. mozdev. org/
r3ZIACgkQJdeBCY SNAAMQgACeMbn9u mEgD0yOM2sBCc8R px1R apH1fy4LyOJZCVu my
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAk8
7c4AnAytyfbQsGF
=HEb7
-----END PGP SIGNATURE-----