Michael Foord <[email protected]> added the comment:
In Python 3.2 assertItemsEqual has been replaced with assertCountEqual that has
a completely different implementation and error format. The implementation and
error output will be backported to the assertItemsEqual method of 2.7 (and to
unittest2).
Error output:
AssertionError: Element counts were not equal:
First has 1, Second has 0: ('b', (2, 3))
First has 0, Second has 1: ('x', (2, 3))
----------
resolution: -> invalid
stage: unit test needed -> committed/rejected
status: open -> closed
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue9977>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com