Message125205
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)) |
|
Date |
User |
Action |
Args |
2011-01-03 17:52:57 | michael.foord | set | recipients:
+ michael.foord, terry.reedy, mattheww, ezio.melotti, eric.araujo |
2011-01-03 17:52:57 | michael.foord | set | messageid: <1294077177.8.0.42155755234.issue9977@psf.upfronthosting.co.za> |
2011-01-03 17:52:54 | michael.foord | link | issue9977 messages |
2011-01-03 17:52:54 | michael.foord | create | |
|