Michael Foord <[email protected]> added the comment:
This is committed to 2.7 and 3.2 (using the old name assertItemsEqual in 2.7).
As we're well into the beta cycle I don't think we can change the name in 3.2.
The current failure output is very nice for comparing sequences like [1, 2, 3]
vs [1, 2, 4]:
AssertionError: Expected, but missing:
[4]
Unexpected, but present:
[3]
It is less good for sequences like [2, 2] vs [2, 2, 2]:
AssertionError: Expected, but missing:
[2]
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue10242>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com