[issue17866] TestCase.assertItemsEqual exists in 2.7, not in 3.3

Ezio Melotti report at bugs.python.org
Mon Apr 29 10:15:18 CEST 2013


Ezio Melotti added the comment:

I don't remember how it went exactly, but there were a few similar methods (assertItemsEqual, assertSameElements, assertCountEqual).  In 3.x we eventually decide to remove the first 2 because it wasn't clear what they were doing, and only assertCountEqual survived.  In 2.7 this wasn't possible, so assertItemsEqual survived.
assertDictContainsSubset is another method that was in 2.7 but is not in 3.x anymore.
Do you think the docs for 2.x should mention this?

----------
assignee:  -> docs at python
components: +Documentation
nosy: +docs at python, ezio.melotti
type:  -> enhancement

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


More information about the Python-bugs-list mailing list