[issue17459] unittest.assertItemsEqual reports wrong order

2013-03-18 Thread Matthijs van der Vleuten
New submission from Matthijs van der Vleuten: When calling assertItemsEqual(first,second), if the items in a and b differ, the AssertionError treats second as the first sequence and first as the second sequence. Repro code: from unittest.case import TestCase class Foo(TestCase): ...

[issue17459] unittest.assertItemsEqual reports wrong order

2013-03-18 Thread Matthijs van der Vleuten
Matthijs van der Vleuten added the comment: Duplicate of 14832. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17459 ___

[issue17459] unittest.assertItemsEqual reports wrong order

2013-03-18 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- resolution: - duplicate stage: - committed/rejected superseder: - unittest's assertItemsEqual() method gives wrong order in error output ___ Python tracker rep...@bugs.python.org