logilab-common #144526 [testlib] assertSameElements removed in Python 3.3 [validation pending]
See the bug on Gentoo here:
The problem is this section:
if not hasattr(unittest.TestCase, 'assertItemsEqual'): # python 3.2 has deprecated assertSameElements and is missing # assertItemsEqual assertItemsEqual = unittest.TestCase.assertSameElements
This is just replacing something that was removed in Python 3.2 with something removed in Python 3.3. It should use assertCountEqual (new in Python 3.2) instead of assertSameElements.
|closed by||#49aeb5521e29 testlib: fix for python 3.3|
|patch||testlib: fix for python 3.3 [folded]testlib: fix for python 3.3 [applied]|