This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients cansarigol, eric.smith, rhettinger, sobolevn
Date 2022-02-02.15:46:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643816798.77.0.230602276041.issue46610@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2022-02-02 15:46:38rhettingersetrecipients: + rhettinger, eric.smith, sobolevn, cansarigol
2022-02-02 15:46:38rhettingersetmessageid: <1643816798.77.0.230602276041.issue46610@roundup.psfhosted.org>
2022-02-02 15:46:38rhettingerlinkissue46610 messages
2022-02-02 15:46:38rhettingercreate