[issue9977] TestCase.assertItemsEqual's description of differences

Terry J. Reedy report at bugs.python.org
Fri Oct 1 20:39:29 CEST 2010


Terry J. Reedy <tjreedy at udel.edu> added the comment:

If I understand correctly, you are requesting that .assertItemsEqual only use the 2nd (multiset comparison) method, so that if one want the first method, one should directly call .assertSequenceEqual(sorted(a), sorted(b)).

This seems reasonable to me, but I do not use the unittest module, and I suspect others want the implicit call.

----------
nosy: +terry.reedy
stage:  -> unit test needed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9977>
_______________________________________


More information about the Python-bugs-list mailing list