[issue27060] Documentation of assertItemsEqual in unittest is VERY misleading in 2.7

Vitaly report at bugs.python.org
Fri May 20 19:22:17 EDT 2016


Vitaly added the comment:

According to comment http://bugs.python.org/issue17866#msg188052 in #17866, the maintainers renamed `assertItemsEqual` to `assertCountEqual` somewhere in the 3.x development timeframe. They apparently latched on to the implementation of `assertItemsEqual` in 2.7.x, which compares counts only, rather than its documentation.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27060>
_______________________________________


More information about the Python-bugs-list mailing list