[issue9977] TestCase.assertItemsEqual's description of differences

2011-01-03 Thread Michael Foord
Michael Foord 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 outp

[issue9977] TestCase.assertItemsEqual's description of differences

2010-10-31 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue9977] TestCase.assertItemsEqual's description of differences

2010-10-01 Thread Matthew Woodcraft
Matthew Woodcraft added the comment: Terry J. Reedy wrote: > 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)). Yes,

[issue9977] TestCase.assertItemsEqual's description of differences

2010-10-01 Thread Terry J. Reedy
Terry J. Reedy 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 d

[issue9977] TestCase.assertItemsEqual's description of differences

2010-09-30 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue9977] TestCase.assertItemsEqual's description of differences

2010-09-28 Thread Michael Foord
Changes by Michael Foord : -- assignee: -> michael.foord components: +Library (Lib) versions: +Python 3.2 ___ Python tracker ___ ___ P

[issue9977] TestCase.assertItemsEqual's description of differences

2010-09-28 Thread Matthew Woodcraft
New submission from Matthew Woodcraft : TestCase.assertItemsEqual uses two different techniques to describe the differences in the inputs that it compares. If the inputs are sortable, it sorts them and then uses assertSequenceEqual to describe the difference between them considered as ordered se