Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:

I agree with Eric that this should not be changed.  It is working as documented 
and intended.

In its original incarenation, assertCountEqual was documented as being 
equivalent to ``assertEqual(sorted(expected), sorted(actual))``.  Either way, 
the goal was to count the values produced by iterating.

To compare two dicts or two Counters including both keys and values, just use 
assertEqual.

----------
nosy: +rhettinger

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46610>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to