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):
...
Matthijs van der Vleuten added the comment:
Duplicate of 14832.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17459
___
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